JustKiddo commited on
Commit
b7b5d68
·
verified ·
1 Parent(s): ff3f385

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -3
app.py CHANGED
@@ -17,9 +17,13 @@ def sepia(input_img):
17
  sepia_interface = gr.Interface(sepia, gr.Image(), "image")
18
 
19
  ## https://www.gradio.app/docs/gradio/blocks
20
- with gr.Blocks() as generated_output:
21
- inp = sepia_interface
22
- out = gr.Textbox()
 
 
 
 
23
 
24
 
25
  demoApp = gr.TabbedInterface([sepia_interface, generated_output], ["RGB Sepia Filter", "Handwritten to Text"])
 
17
  sepia_interface = gr.Interface(sepia, gr.Image(), "image")
18
 
19
  ## https://www.gradio.app/docs/gradio/blocks
20
+ generated_output = gr.Interface(None,
21
+ input = sepia_interface,
22
+ output = gr.Textbox())
23
+
24
+ #with gr.Blocks() as generated_output:
25
+ # inp = gr.Interface(sepia, gr.Image(), "image")
26
+ # out = gr.Textbox()
27
 
28
 
29
  demoApp = gr.TabbedInterface([sepia_interface, generated_output], ["RGB Sepia Filter", "Handwritten to Text"])