Spaces:
Running
on
Zero
Running
on
Zero
Update src/app.py
Browse files- src/app.py +2 -2
src/app.py
CHANGED
@@ -156,7 +156,7 @@ def process(
|
|
156 |
solver_type=solver_type,
|
157 |
)
|
158 |
|
159 |
-
return
|
160 |
|
161 |
|
162 |
with gr.Blocks() as demo:
|
@@ -167,7 +167,7 @@ with gr.Blocks() as demo:
|
|
167 |
input_image = gr.Image(type="pil", label="Input Image")
|
168 |
run_button = gr.ClearButton(components=None, value="Enhance Image")
|
169 |
with gr.Column():
|
170 |
-
output_slider =
|
171 |
run_button.add(output_slider)
|
172 |
|
173 |
with gr.Accordion("Advanced Options", open=False):
|
|
|
156 |
solver_type=solver_type,
|
157 |
)
|
158 |
|
159 |
+
return enhanced_image
|
160 |
|
161 |
|
162 |
with gr.Blocks() as demo:
|
|
|
167 |
input_image = gr.Image(type="pil", label="Input Image")
|
168 |
run_button = gr.ClearButton(components=None, value="Enhance Image")
|
169 |
with gr.Column():
|
170 |
+
output_slider = gr.Image(label="Output Image Component")
|
171 |
run_button.add(output_slider)
|
172 |
|
173 |
with gr.Accordion("Advanced Options", open=False):
|