osbm commited on
Commit
9d0b212
1 Parent(s): 0f3eab2
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -61,7 +61,7 @@ demo = gr.Interface(
61
  gr.Number(label="X", value=10_000),
62
  gr.Number(label="Y", value=10_000),
63
  gr.Number(label="Thumbnail size", value=500),
64
- gr.File(label="ASAP Annotation", type="file", accept=".xml"),
65
  ],
66
  outputs="image",
67
  title="Reverse Text",
 
61
  gr.Number(label="X", value=10_000),
62
  gr.Number(label="Y", value=10_000),
63
  gr.Number(label="Thumbnail size", value=500),
64
+ gr.File(label="ASAP Annotation", file_types=[".xml"]),
65
  ],
66
  outputs="image",
67
  title="Reverse Text",