Alex Strick van Linschoten commited on
Commit
49b1548
1 Parent(s): f6359e8

peach theme and default checkbox

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -184,7 +184,7 @@ with open("article.md") as f:
184
  examples = [["test1.pdf", 80, False], ["test2.pdf", 80, False]]
185
  interpretation = "default"
186
  enable_queue = True
187
- theme = "default"
188
  allow_flagging = "never"
189
 
190
  demo = gr.Interface(
@@ -199,7 +199,7 @@ demo = gr.Interface(
199
  label="Confidence",
200
  optional=False,
201
  ),
202
- gr.inputs.Checkbox(label="Extract redacted images"),
203
  ],
204
  outputs=[
205
  gr.outputs.Textbox(label="Document Analysis"),
 
184
  examples = [["test1.pdf", 80, False], ["test2.pdf", 80, False]]
185
  interpretation = "default"
186
  enable_queue = True
187
+ theme = "peach"
188
  allow_flagging = "never"
189
 
190
  demo = gr.Interface(
 
199
  label="Confidence",
200
  optional=False,
201
  ),
202
+ gr.inputs.Checkbox(label="Extract redacted images", default=True),
203
  ],
204
  outputs=[
205
  gr.outputs.Textbox(label="Document Analysis"),