Spaces:
Runtime error
Runtime error
| from transformers import pipeline | |
| import gradio as gr | |
| def Classify(): | |
| model = pipeline("image-classification") | |
| return gr.Interface.from_pipeline(model).launch() |
| from transformers import pipeline | |
| import gradio as gr | |
| def Classify(): | |
| model = pipeline("image-classification") | |
| return gr.Interface.from_pipeline(model).launch() |