Update app.py
Browse files
app.py
CHANGED
@@ -30,7 +30,7 @@ with gr.Blocks() as demo:
|
|
30 |
|
31 |
# Image Upload Section
|
32 |
with gr.Row():
|
33 |
-
image_input = gr.File(label="Upload Image", type="
|
34 |
image_output = gr.Image(type="pil")
|
35 |
image_input.change(upload_image, inputs=image_input, outputs=image_output)
|
36 |
|
|
|
30 |
|
31 |
# Image Upload Section
|
32 |
with gr.Row():
|
33 |
+
image_input = gr.File(label="Upload Image", type="filepath", file_count="single")
|
34 |
image_output = gr.Image(type="pil")
|
35 |
image_input.change(upload_image, inputs=image_input, outputs=image_output)
|
36 |
|