Create app.py
Browse files
app.py
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
git clone https://huggingface.co/spaces/SaintPepe/assmach
|
2 |
+
|
3 |
+
import gradio as gr
|
4 |
+
|
5 |
+
def greet(name):
|
6 |
+
return "Hello " + name + "!!"
|
7 |
+
|
8 |
+
iface = gr.Interface(fn=greet, inputs="text", outputs="text")
|
9 |
+
iface.launch()
|
10 |
+
|
11 |
+
git add app.py
|
12 |
+
git commit -m "Add application file"
|
13 |
+
git push
|