Update app.py
Browse files
app.py
CHANGED
|
@@ -209,7 +209,11 @@ css = """
|
|
| 209 |
font-weight: bold;
|
| 210 |
}
|
| 211 |
"""
|
| 212 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 213 |
with gr.Blocks(theme='Nymbo/Nymbo_Theme', css=css) as app:
|
| 214 |
gr.HTML("""
|
| 215 |
<center>
|
|
|
|
| 209 |
font-weight: bold;
|
| 210 |
}
|
| 211 |
"""
|
| 212 |
+
with gr.Blocks(js=js) as demo:
|
| 213 |
+
inp = gr.Textbox(placeholder="What is your name?")
|
| 214 |
+
out = gr.Textbox()
|
| 215 |
+
inp.change(welcome, inp, out)
|
| 216 |
+
|
| 217 |
with gr.Blocks(theme='Nymbo/Nymbo_Theme', css=css) as app:
|
| 218 |
gr.HTML("""
|
| 219 |
<center>
|