paopaoka3325 commited on
Commit
9c20424
·
1 Parent(s): e85c985

add requiretment

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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 "Hello " + name + "!!"
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()