Spaces:
Runtime error
Runtime error
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() |