Spaces:
Runtime error
Runtime error
Create app.py
#2
by
Xazar
- opened
app.py
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
git clone https://huggingface.co/spaces/Samuelblue/Chat-GPT
|
2 |
+
import gradio as gr
|
3 |
+
|
4 |
+
def greet(name):
|
5 |
+
return "Hello " + name + "!!"
|
6 |
+
|
7 |
+
iface = gr.Interface(fn=greet, inputs="text", outputs="text")
|
8 |
+
iface.launch()
|
9 |
+
git add app.py
|
10 |
+
git commit -m "Add application file"
|
11 |
+
git push
|