Spaces:
Runtime error
Runtime error
utility-ai
commited on
Commit
•
17cbb1c
1
Parent(s):
90f62f6
trying out gradio
Browse files
app.py
CHANGED
@@ -1,7 +1,9 @@
|
|
1 |
import gradio as gr
|
2 |
|
3 |
def greet(name):
|
4 |
-
return "Hello " + name + "
|
5 |
|
6 |
-
iface = gr.Interface(fn=greet,
|
|
|
|
|
7 |
iface.launch()
|
|
|
1 |
import gradio as gr
|
2 |
|
3 |
def greet(name):
|
4 |
+
return "Hello " + name + "!!... How are you doing today"
|
5 |
|
6 |
+
iface = gr.Interface(fn=greet,
|
7 |
+
inputs=gr.Textbox(lines=2, placeholder="Name Here..."),
|
8 |
+
outputs="text"
|
9 |
iface.launch()
|