Spaces:
Sleeping
Sleeping
| import gradio as gr | |
| from transformers import pipeline, AutoProcessor | |
| model_name = "Kennethdot/convnext_finetuned_ghanaian_food" | |
| pipe = pipeline("image-classification", model=model_name) | |
| demo = gr.Interface.from_pipeline(pipe) | |
| demo.launch(share=True) | |