Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -23,4 +23,4 @@ else:
|
|
23 |
model.encoder.to(torch.bfloat16)
|
24 |
model.eval()
|
25 |
demo = gr.Interface(fn=demo_process,inputs="image",outputs="json", title=f"Donut 🍩 demonstration for `{task_name}` task",)
|
26 |
-
demo.launch(
|
|
|
23 |
model.encoder.to(torch.bfloat16)
|
24 |
model.eval()
|
25 |
demo = gr.Interface(fn=demo_process,inputs="image",outputs="json", title=f"Donut 🍩 demonstration for `{task_name}` task",)
|
26 |
+
demo.launch()
|