drhead commited on
Commit
19c333f
1 Parent(s): e4d7d13

change image modal

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -157,7 +157,7 @@ with gr.Blocks(css=".output-class { display: none; }") as demo:
157
  """)
158
  gr.Interface(
159
  create_tags,
160
- inputs=[gr.Image(label="Source", sources=['upload', 'webcam'], type='pil'), gr.Slider(minimum=0.00, maximum=1.00, step=0.01, value=0.20, label="Threshold")],
161
  outputs=[
162
  gr.Textbox(label="Tag String"),
163
  gr.Label(label="Tag Predictions", num_top_classes=200, show_label=False),
 
157
  """)
158
  gr.Interface(
159
  create_tags,
160
+ inputs=[gr.Image(label="Source", sources=['upload'], type='pil', height="60vh", show_label=False), gr.Slider(minimum=0.00, maximum=1.00, step=0.01, value=0.20, label="Threshold")],
161
  outputs=[
162
  gr.Textbox(label="Tag String"),
163
  gr.Label(label="Tag Predictions", num_top_classes=200, show_label=False),