Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -6,8 +6,8 @@ import gradio as gr
|
|
| 6 |
#iface = gr.Interface(fn=greet, inputs="text", outputs="text")
|
| 7 |
#iface.launch()
|
| 8 |
|
| 9 |
-
|
| 10 |
-
|
| 11 |
|
| 12 |
with gr.Blocks() as demo:
|
| 13 |
gr.Markdown("Start typing below and then click **Run** to see the output.")
|
|
|
|
| 6 |
#iface = gr.Interface(fn=greet, inputs="text", outputs="text")
|
| 7 |
#iface.launch()
|
| 8 |
|
| 9 |
+
def update(name):
|
| 10 |
+
return f"Welcome to Gradio, {name}!"
|
| 11 |
|
| 12 |
with gr.Blocks() as demo:
|
| 13 |
gr.Markdown("Start typing below and then click **Run** to see the output.")
|