Commit
·
4658d29
1
Parent(s):
3c75887
ruff
Browse files
app.py
CHANGED
|
@@ -215,7 +215,12 @@ with gr.Blocks() as demo:
|
|
| 215 |
)
|
| 216 |
with gr.Row():
|
| 217 |
with gr.Column():
|
| 218 |
-
img1 = gr.Image(
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 219 |
gr.Examples(examples=examples, inputs=[img1])
|
| 220 |
with gr.Column():
|
| 221 |
img2 = gr.ImageSlider(label="Dehazed Image", type="pil")
|
|
|
|
| 215 |
)
|
| 216 |
with gr.Row():
|
| 217 |
with gr.Column():
|
| 218 |
+
img1 = gr.Image(
|
| 219 |
+
label="Input Image",
|
| 220 |
+
type="pil",
|
| 221 |
+
webcam_options=False,
|
| 222 |
+
value=example_images[0] if example_images else None,
|
| 223 |
+
)
|
| 224 |
gr.Examples(examples=examples, inputs=[img1])
|
| 225 |
with gr.Column():
|
| 226 |
img2 = gr.ImageSlider(label="Dehazed Image", type="pil")
|