Arjs commited on
Commit
a20bfae
·
verified ·
1 Parent(s): 01549fc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -151,7 +151,7 @@ def handle_input(image, text, session_id):
151
  iface = gr.Interface(
152
  fn=handle_input,
153
  inputs=[
154
- gr.Image(type="pil", optional=True, label="Upload Image (Optional)"),
155
  gr.Textbox(lines=2, placeholder="Enter your query here...", label="Text Query"),
156
  gr.Textbox(value="abc2", label="Session ID", visible=False)
157
  ],
 
151
  iface = gr.Interface(
152
  fn=handle_input,
153
  inputs=[
154
+ gr.Image(type="pil", label="Upload Image (Optional)"),
155
  gr.Textbox(lines=2, placeholder="Enter your query here...", label="Text Query"),
156
  gr.Textbox(value="abc2", label="Session ID", visible=False)
157
  ],