JoPmt commited on
Commit
642fa4f
1 Parent(s): 0031203

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -5,9 +5,9 @@ def plex(outtxt):
5
 
6
  with gr.Blocks() as iface:
7
  with gr.Row():
8
- with gr.Column():
9
  outtxt=gr.Textbox()
10
- with gr.Column():
11
  with gr.Tabs():
12
  with gr.Row():
13
  tab1=gr.Tab()
@@ -15,7 +15,7 @@ with gr.Blocks() as iface:
15
  tab2=gr.Tab()
16
  with gr.Row():
17
  btn=gr.Button()
18
- btn.click(plex,outtxt,tab1)
19
 
20
 
21
  iface.launch()
 
5
 
6
  with gr.Blocks() as iface:
7
  with gr.Row():
8
+ with gr.Column(scale=1):
9
  outtxt=gr.Textbox()
10
+ with gr.Column(scale=4):
11
  with gr.Tabs():
12
  with gr.Row():
13
  tab1=gr.Tab()
 
15
  tab2=gr.Tab()
16
  with gr.Row():
17
  btn=gr.Button()
18
+ btn.click(plex,outtxt,outtxt)
19
 
20
 
21
  iface.launch()