Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
Spaces:
pngwn
/
textbox-tab-bug
like
0
Sleeping
App
Files
Files
Community
pngwn
HF staff
commited on
Apr 15
Commit
2d729aa
•
1 Parent(s):
7e19019
Create app.py
Browse files
Files changed (1)
hide
show
app.py
+13
-0
app.py
ADDED
Viewed
@@ -0,0 +1,13 @@
1
+
import gradio as gr
2
+
3
+
str = """hello
4
+
newline
5
+
newline"""
6
+
7
+
with gr.Blocks() as demo:
8
+
with gr.Tab():
9
+
gr.Textbox(value=str)
10
+
with gr.Tab():
11
+
gr.Textbox(value=str)
12
+
13
+
demo.launch()