Alex Strick van Linschoten commited on
Commit
c6ed7c3
1 Parent(s): 1d9d097

update presentation

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -147,7 +147,7 @@ allow_flagging = "never"
147
  demo = gr.Interface(
148
  fn=predict,
149
  inputs=[
150
- "file",
151
  gr.inputs.Slider(
152
  minimum=0,
153
  maximum=100,
@@ -156,7 +156,7 @@ demo = gr.Interface(
156
  label="Confidence",
157
  optional=False,
158
  ),
159
- "checkbox",
160
  ],
161
  outputs=[
162
  gr.outputs.Textbox(label="Document Analysis"),
147
  demo = gr.Interface(
148
  fn=predict,
149
  inputs=[
150
+ gr.inputs.File(label="PDF file", file_count="single"),
151
  gr.inputs.Slider(
152
  minimum=0,
153
  maximum=100,
156
  label="Confidence",
157
  optional=False,
158
  ),
159
+ gr.inputs.Checkbox(label="Extract redacted images"),
160
  ],
161
  outputs=[
162
  gr.outputs.Textbox(label="Document Analysis"),