joanhightech commited on
Commit
6c3e6e1
·
verified ·
1 Parent(s): 8881aba

Jm: fix return issue

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -4,5 +4,7 @@ def salut(nom):
4
  with open('data.txt', 'w') as file:
5
  file.write(f"Nom: {nom}\n")
6
 
 
 
7
  demo = gr.Interface(fn=salut, inputs="text", outputs="text")
8
- demo.launch(share=True, debug=True)
 
4
  with open('data.txt', 'w') as file:
5
  file.write(f"Nom: {nom}\n")
6
 
7
+ return "Salut " + nom
8
+
9
  demo = gr.Interface(fn=salut, inputs="text", outputs="text")
10
+ demo.launch(share=True)