Spaces:
Sleeping
Sleeping
Change params
Browse files
app.py
CHANGED
|
@@ -16,5 +16,5 @@ def transcribe(image):
|
|
| 16 |
return processor.batch_decode(generated_ids, skip_special_tokens=True)[0]
|
| 17 |
|
| 18 |
|
| 19 |
-
iface = gr.Interface(transcribe,
|
| 20 |
iface.launch()
|
|
|
|
| 16 |
return processor.batch_decode(generated_ids, skip_special_tokens=True)[0]
|
| 17 |
|
| 18 |
|
| 19 |
+
iface = gr.Interface(transcribe, "image", "text")
|
| 20 |
iface.launch()
|