awacke1 commited on
Commit
73932c7
1 Parent(s): ed951f8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -20,6 +20,8 @@ def f3(x):
20
  with demo:
21
  textIn = gr.Textbox()
22
  textOut1 = gr.Textbox()
 
 
23
  textOut2 = gr.Textbox()
24
  textOut3 = gr.Textbox()
25
 
@@ -30,5 +32,5 @@ with demo:
30
  b1.click(f1, inputs=textIn, outputs=textOut1 )
31
  b2.click(f2, inputs=textIn, outputs=textOut2 )
32
  b3.click(f3, inputs=textIn, outputs=textOut3 )
33
-
34
  demo.launch()
20
  with demo:
21
  textIn = gr.Textbox()
22
  textOut1 = gr.Textbox()
23
+
24
+ bt1 = gr.Button("Re-run")
25
  textOut2 = gr.Textbox()
26
  textOut3 = gr.Textbox()
27
 
32
  b1.click(f1, inputs=textIn, outputs=textOut1 )
33
  b2.click(f2, inputs=textIn, outputs=textOut2 )
34
  b3.click(f3, inputs=textIn, outputs=textOut3 )
35
+ bt1.click(f3, inputs=textOut1, outputs=textOut2 )
36
  demo.launch()