lgaleana commited on
Commit
d5b1bca
β€’
0 Parent(s):
Files changed (2) hide show
  1. README.md +10 -0
  2. app.py +20 -0
README.md ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ title: Toolkit
3
+ emoji: 😎
4
+ colorFrom: blue
5
+ colorTo: red
6
+ sdk: gradio
7
+ sdk_version: 3.32.0
8
+ app_file: app.py
9
+ pinned: false
10
+ ---
app.py ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import gradio as gr
2
+
3
+ demo = None
4
+
5
+ def component():
6
+ with gr.Row():
7
+ gr.Textbox("Hello")
8
+ gr.Textbox("World")
9
+
10
+
11
+ with gr.Blocks() as demo:
12
+ for c in [component, component]:
13
+ c()
14
+ gr.Button("Hey")
15
+
16
+ print("heyhey")
17
+ with gr.Blocks() as demo:
18
+ for c in [component, component]:
19
+ c()
20
+ gr.Textbox("World")