Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -27,17 +27,10 @@ def additional_input(text):
|
|
| 27 |
sepia_interface = gr.Interface(sepia, gr.Image(), "image")
|
| 28 |
|
| 29 |
with gr.Blocks() as generated_output:
|
| 30 |
-
|
| 31 |
-
|
| 32 |
-
#with gr.Column():
|
| 33 |
-
# gr.Texbox()
|
| 34 |
with gr.Row():
|
| 35 |
-
|
| 36 |
-
clear_button = gr.Button("Clear")
|
| 37 |
-
submit_button = gr.Button("Submit")
|
| 38 |
-
output_img = gr.Image(sepia(input_image), label="Output Image")
|
| 39 |
-
sepia_vales_text = gr.Textbox(label="Sepia Values")
|
| 40 |
-
submit_button.click(sepia, inputs=input_image, outputs=[output_img, sepia_vales_text])
|
| 41 |
|
| 42 |
#with gr.Blocks() as generated_output:
|
| 43 |
# inp = gr.Interface(sepia, gr.Image(), "image")
|
|
|
|
| 27 |
sepia_interface = gr.Interface(sepia, gr.Image(), "image")
|
| 28 |
|
| 29 |
with gr.Blocks() as generated_output:
|
| 30 |
+
with gr.Column():
|
| 31 |
+
sepia_interface
|
|
|
|
|
|
|
| 32 |
with gr.Row():
|
| 33 |
+
gr.Texbox()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 34 |
|
| 35 |
#with gr.Blocks() as generated_output:
|
| 36 |
# inp = gr.Interface(sepia, gr.Image(), "image")
|