Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -21,5 +21,5 @@ model.eval()
|
|
21 |
task_name = "SGSInvoice"
|
22 |
task_prompt = f"<s_{task_name}>"
|
23 |
|
24 |
-
demo = gr.Interface(fn=demo_process,inputs=gr.File(file_types=[
|
25 |
demo.launch()
|
|
|
21 |
task_name = "SGSInvoice"
|
22 |
task_prompt = f"<s_{task_name}>"
|
23 |
|
24 |
+
demo = gr.Interface(fn=demo_process,inputs=gr.File(file_count='single', file_types=['.pdf']),outputs="json", title=f"Donut 🍩 demonstration for `{task_name}` task",)
|
25 |
demo.launch()
|