JustKiddo commited on
Commit
e7699ca
·
verified ·
1 Parent(s): 1d79396

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -10
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
- #with gr.Row():
31
- # sepia_interface
32
- #with gr.Column():
33
- # gr.Texbox()
34
  with gr.Row():
35
- input_image = gr.Image(label="Input Image")
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")