OdinStef commited on
Commit
cb014ff
·
1 Parent(s): a323139

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -19,7 +19,7 @@ def CustomChatGPT(user_input):
19
 
20
  description = "Cet Intelligence Artificiell est un programme fait par Stephane Dube (dubestephane @ vivaldi.net). Envoyez moi un message pour une requête ou pour une question. \n"
21
  title = "Je peux répondre a presque toute les questions."
22
- btn = gr.Button(value="Envoyer")
23
  demo = gr.Interface(fn=CustomChatGPT, description = description, title = title, inputs = gr.inputs.Textbox(label = "Question", placeholder="Ex.: Quelle est la plus haute tour du monde?"), outputs = gr.outputs.Textbox(label = "Réponse"))
24
 
25
  demo.launch()
 
19
 
20
  description = "Cet Intelligence Artificiell est un programme fait par Stephane Dube (dubestephane @ vivaldi.net). Envoyez moi un message pour une requête ou pour une question. \n"
21
  title = "Je peux répondre a presque toute les questions."
22
+ submit = gr.Button(value="Envoyer")
23
  demo = gr.Interface(fn=CustomChatGPT, description = description, title = title, inputs = gr.inputs.Textbox(label = "Question", placeholder="Ex.: Quelle est la plus haute tour du monde?"), outputs = gr.outputs.Textbox(label = "Réponse"))
24
 
25
  demo.launch()