Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -29,7 +29,7 @@ task_name = "SGSInvoice"
|
|
29 |
task_prompt = f"<s_{task_name}>"
|
30 |
model = DonutModel.from_pretrained("uartimcs/donut-invoice-extract")
|
31 |
model.eval()
|
32 |
-
demo = gr.Interface(fn=process,inputs=gr.File(label="Upload PDF File"),outputs=gr.File(label="Download Output")
|
33 |
demo.launch()
|
34 |
|
35 |
|
|
|
29 |
task_prompt = f"<s_{task_name}>"
|
30 |
model = DonutModel.from_pretrained("uartimcs/donut-invoice-extract")
|
31 |
model.eval()
|
32 |
+
demo = gr.Interface(fn=process,inputs=gr.File(label="Upload PDF File"),outputs=gr.File(label="Download Output"), title=f"Donut 🍩 demonstration for `{task_name}` task",)
|
33 |
demo.launch()
|
34 |
|
35 |
|