Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,11 +1,8 @@
|
|
| 1 |
import gradio as gr
|
| 2 |
-
from transformers import pipeline
|
| 3 |
-
pipe = pipeline("image-classification", "DataScienceProject/Vit")
|
| 4 |
-
print(pipe)
|
| 5 |
|
| 6 |
|
| 7 |
-
def greet(name):
|
| 8 |
-
return "Hello " + name + "!!"
|
| 9 |
|
| 10 |
-
|
|
|
|
|
|
|
| 11 |
demo.launch()
|
|
|
|
| 1 |
import gradio as gr
|
|
|
|
|
|
|
|
|
|
| 2 |
|
| 3 |
|
|
|
|
|
|
|
| 4 |
|
| 5 |
+
|
| 6 |
+
|
| 7 |
+
demo = gr.Interface(...
|
| 8 |
demo.launch()
|