Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -29,13 +29,12 @@ sepia_interface = gr.Interface(sepia, gr.Image(), "image")
|
|
| 29 |
|
| 30 |
with gr.Blocks() as generated_output:
|
| 31 |
with gr.Column():
|
|
|
|
|
|
|
| 32 |
gr.Interface(fn=sepia,
|
| 33 |
inputs=gr.Image(),
|
| 34 |
-
outputs="
|
| 35 |
show_progress="minimal")
|
| 36 |
-
with gr.Row():
|
| 37 |
-
sepia_values_text=gr.Textbox(label="Sepia Values")
|
| 38 |
-
gr.Interface(sepia, outputs = "sepia_values_text")
|
| 39 |
|
| 40 |
#with gr.Blocks() as generated_output:
|
| 41 |
# inp = gr.Interface(sepia, gr.Image(), "image")
|
|
|
|
| 29 |
|
| 30 |
with gr.Blocks() as generated_output:
|
| 31 |
with gr.Column():
|
| 32 |
+
sepia_values_text=gr.Textbox(label="Sepia Values")
|
| 33 |
+
output_img = gr.Image(label="Output Image")
|
| 34 |
gr.Interface(fn=sepia,
|
| 35 |
inputs=gr.Image(),
|
| 36 |
+
outputs=["output_img", "sepia_values_text"],
|
| 37 |
show_progress="minimal")
|
|
|
|
|
|
|
|
|
|
| 38 |
|
| 39 |
#with gr.Blocks() as generated_output:
|
| 40 |
# inp = gr.Interface(sepia, gr.Image(), "image")
|