File size: 465 Bytes
6670080
 
0031203
 
6670080
 
 
642fa4f
29fa19e
 
6670080
 
 
 
 
0031203
 
642fa4f
6670080
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
import gradio as gr

def plex(outtxt):
    return "hi"+outtxt+""

with gr.Blocks() as iface:
    with gr.Row():
        with gr.Column(scale=4):
            outtxt=gr.Textbox()
        with gr.Column(scale=1):
            with gr.Tabs():
                with gr.Row():
                    tab1=gr.Tab()
                with gr.Row():
                    tab2=gr.Tab()
    with gr.Row():
        btn=gr.Button()
        btn.click(plex,outtxt,outtxt)


iface.launch()