Spaces:
Running
Running
Lev McKinney
commited on
Commit
•
67cda2a
1
Parent(s):
c223db4
added basic app file
Browse files
app.py
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from platform import python_version
|
2 |
+
import gradio as gr
|
3 |
+
|
4 |
+
def greet(name):
|
5 |
+
return "Hello " + name + "!!" + "Using python version: " + python_version()
|
6 |
+
|
7 |
+
iface = gr.Interface(fn=greet, inputs="text", outputs="text")
|
8 |
+
iface.launch()
|