Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -55,16 +55,16 @@ demoInterface = gr.Interface(
|
|
55 |
allow_flagging=False,
|
56 |
)
|
57 |
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
gr.
|
66 |
-
)
|
67 |
|
68 |
gr.TabbedInterface(
|
69 |
-
[demoInterface,
|
70 |
).launch(enable_queue=True)
|
|
|
55 |
allow_flagging=False,
|
56 |
)
|
57 |
|
58 |
+
with gr.Blocks() as demo:
|
59 |
+
gr.Markdown(
|
60 |
+
"""
|
61 |
+
# Hello World!
|
62 |
+
Start typing below to see the output.
|
63 |
+
""")
|
64 |
+
inp = gr.Textbox(placeholder="What is your name?")
|
65 |
+
out = gr.Textbox()
|
66 |
+
inp.change(welcome, inp, out)
|
67 |
|
68 |
gr.TabbedInterface(
|
69 |
+
[demoInterface, demo], ["Try-out", "Deployment"]
|
70 |
).launch(enable_queue=True)
|