toolkit / app.py
lgaleana's picture
test2
1feb4b6
raw
history blame
354 Bytes
import gradio as gr
demo = None
def component():
with gr.Row():
gr.Textbox("Hello")
gr.Textbox("World")
with gr.Blocks() as demo:
for c in [component, component]:
c()
gr.Button("Hey")
print("heyhey")
with gr.Blocks() as demo:
for c in [component, component]:
c()
gr.Textbox("World")
demo.launch()