Spaces:
Runtime error
Runtime error
JoePratchaya
commited on
Commit
•
c55a546
1
Parent(s):
d1246d8
Create app.py
Browse files
app.py
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
ActivePython 2.7.18.4 (ActiveState Software Inc.) based on
|
2 |
+
Python 2.7.18.4 (default, Aug 9 2021, 23:37:24) [MSC v.1500 32 bit (Intel)] on win32
|
3 |
+
Type "help", "copyright", "credits" or "license()" for more information.
|
4 |
+
>>> import gradio as gr
|
5 |
+
|
6 |
+
def greet(name):
|
7 |
+
return "Hello " + name + "!!"
|
8 |
+
|
9 |
+
iface = gr.Interface(fn=greet, inputs="text", outputs="text")
|
10 |
+
iface.launch()
|