Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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()
|