Siddharth Maddali
commited on
Commit
•
12523f5
1
Parent(s):
8e29c2f
Added .gitignore
Browse files- .gitignore +2 -0
- app.py +3 -3
.gitignore
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
1 |
+
# vim buffer files
|
2 |
+
*.swp
|
app.py
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
import gradio as gr
|
2 |
|
3 |
-
def greet(name):
|
4 |
-
return
|
5 |
|
6 |
-
iface = gr.Interface(fn=greet, inputs=
|
7 |
iface.launch()
|
|
|
1 |
import gradio as gr
|
2 |
|
3 |
+
def greet( name ):
|
4 |
+
return 'Hello %s!!'%name
|
5 |
|
6 |
+
iface = gr.Interface( fn=greet, inputs='text', outputs='text' )
|
7 |
iface.launch()
|