Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -4,4 +4,5 @@ from transformers import pipeline, AutoProcessor
|
|
| 4 |
model_name = "Kennethdot/convnext_finetuned_ghanaian_food"
|
| 5 |
pipe = pipeline("image-classification", model=model_name)
|
| 6 |
|
| 7 |
-
gr.Interface.from_pipeline(pipe)
|
|
|
|
|
|
| 4 |
model_name = "Kennethdot/convnext_finetuned_ghanaian_food"
|
| 5 |
pipe = pipeline("image-classification", model=model_name)
|
| 6 |
|
| 7 |
+
demo = gr.Interface.from_pipeline(pipe)
|
| 8 |
+
demo.launch()
|