Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,13 +1,13 @@
|
|
1 |
import gradio as gr
|
2 |
|
3 |
-
def greet(name):
|
4 |
-
return "Hello " + name + "!!"
|
5 |
|
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.")
|
|
|
1 |
import gradio as gr
|
2 |
|
3 |
+
#def greet(name):
|
4 |
+
# return "Hello " + name + "!!"
|
5 |
|
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.")
|