Spaces:
Runtime error
Runtime error
ryanzhangfan
commited on
Commit
•
0e4d3b0
1
Parent(s):
f915f24
Update app.py
Browse files
app.py
CHANGED
@@ -186,7 +186,7 @@ with gr.Blocks() as demo:
|
|
186 |
with gr.Column(scale=0.15, min_width=0):
|
187 |
submit_btn = gr.Button("Send")
|
188 |
user_image = gr.Image(
|
189 |
-
|
190 |
)
|
191 |
|
192 |
submit_btn.click(
|
|
|
186 |
with gr.Column(scale=0.15, min_width=0):
|
187 |
submit_btn = gr.Button("Send")
|
188 |
user_image = gr.Image(
|
189 |
+
sources="upload", type="pil", label="Upload an image (optional)"
|
190 |
)
|
191 |
|
192 |
submit_btn.click(
|