Spaces:
Build error
Build error
Update app.py
Browse files
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",
|
| 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 |
],
|