Spaces:
Runtime error
Runtime error
| import gradio as gr | |
| from transformers import pipeline | |
| pipe = pipeline("image-classification", model="gaborcselle/font-identifier") | |
| def greet(img): | |
| return "Hello " | |
| demo = gr.Interface(fn=greet, inputs=gr.Image(), outputs="text") | |
| demo.launch() |