Spaces:
Running
Running
Commit
·
9c20424
1
Parent(s):
e85c985
add requiretment
Browse files
app.py
CHANGED
@@ -5,9 +5,9 @@ os.system('pip install ontogpt')
|
|
5 |
import gradio as gr
|
6 |
|
7 |
def greet(name):
|
8 |
-
with open('haha.txt', 'w') as f:
|
9 |
f.write(name)
|
10 |
-
return "
|
11 |
|
12 |
iface = gr.Interface(fn=greet, inputs="text", outputs="text")
|
13 |
iface.launch()
|
|
|
5 |
import gradio as gr
|
6 |
|
7 |
def greet(name):
|
8 |
+
with open('./haha.txt', 'w') as f:
|
9 |
f.write(name)
|
10 |
+
return "have you saved " + name + "?"
|
11 |
|
12 |
iface = gr.Interface(fn=greet, inputs="text", outputs="text")
|
13 |
iface.launch()
|