JustKiddo commited on
Commit
b5a02d8
·
verified ·
1 Parent(s): 5dc218d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -26,10 +26,11 @@ def additional_input(text):
26
  return f"Additional input received: {text}"
27
 
28
  with gr.Blocks() as generated_output:
29
- gr.Interface(sepia, gr.Image(), "image")
30
  with gr.Row():
31
- inp = gr.Interface(sepia, gr.Image(), "image")
32
  out = gr.Textbox()
 
33
  inp.change(sepia, inp, out)
34
 
35
  #with gr.Blocks() as generated_output:
 
26
  return f"Additional input received: {text}"
27
 
28
  with gr.Blocks() as generated_output:
29
+ #gr.Interface(sepia, gr.Image(), "image")
30
  with gr.Row():
31
+ inp = gr.Textbox(gr.Interface(sepia, gr.Image(), "image"))
32
  out = gr.Textbox()
33
+ with gr.Column():
34
  inp.change(sepia, inp, out)
35
 
36
  #with gr.Blocks() as generated_output: