Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -1,11 +1,12 @@
|
|
1 |
import gradio as gr
|
2 |
|
3 |
-
def
|
4 |
return "Hello " + name + "!"
|
5 |
|
6 |
demo = gr.Interface(
|
7 |
-
fn=
|
8 |
-
inputs=gr.Textbox(lines=2, placeholder="
|
9 |
outputs="text",
|
10 |
)
|
|
|
11 |
demo.launch()
|
|
|
1 |
import gradio as gr
|
2 |
|
3 |
+
def result(name):
|
4 |
return "Hello " + name + "!"
|
5 |
|
6 |
demo = gr.Interface(
|
7 |
+
fn=result,
|
8 |
+
inputs=gr.Textbox(lines=2, placeholder="Type your name here to register"),
|
9 |
outputs="text",
|
10 |
)
|
11 |
+
|
12 |
demo.launch()
|