JoPmt commited on
Commit
0031203
1 Parent(s): 6670080

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -2
app.py CHANGED
@@ -1,7 +1,7 @@
1
  import gradio as gr
2
 
3
- def plex():
4
- return
5
 
6
  with gr.Blocks() as iface:
7
  with gr.Row():
@@ -13,6 +13,9 @@ with gr.Blocks() as iface:
13
  tab1=gr.Tab()
14
  with gr.Row():
15
  tab2=gr.Tab()
 
 
 
16
 
17
 
18
  iface.launch()
 
1
  import gradio as gr
2
 
3
+ def plex(outtxt):
4
+ return "hi"+outtxt+""
5
 
6
  with gr.Blocks() as iface:
7
  with gr.Row():
 
13
  tab1=gr.Tab()
14
  with gr.Row():
15
  tab2=gr.Tab()
16
+ with gr.Row():
17
+ btn=gr.Button()
18
+ btn.click(plex,outtxt,tab1)
19
 
20
 
21
  iface.launch()