Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -198,10 +198,8 @@ gradio_app_bill= gr.Interface(
|
|
| 198 |
'OCR', 'OCR with Region'
|
| 199 |
], label="Task Prompt", value= 'More Detailed Caption'),
|
| 200 |
gr.Image(type='filepath'),
|
| 201 |
-
gr.Textbox(label="Text Input (optional)",
|
| 202 |
-
gr.Dropdown(choices=list(models.keys()), label="Model", value='microsoft/Florence-2-large')
|
| 203 |
-
|
| 204 |
-
)
|
| 205 |
],
|
| 206 |
outputs="text",
|
| 207 |
)
|
|
|
|
| 198 |
'OCR', 'OCR with Region'
|
| 199 |
], label="Task Prompt", value= 'More Detailed Caption'),
|
| 200 |
gr.Image(type='filepath'),
|
| 201 |
+
gr.Textbox(label="Text Input (optional)"),
|
| 202 |
+
gr.Dropdown(choices=list(models.keys()), label="Model", value='microsoft/Florence-2-large')
|
|
|
|
|
|
|
| 203 |
],
|
| 204 |
outputs="text",
|
| 205 |
)
|