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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -17,9 +17,9 @@ def CustomChatGPT(user_input):
17
  messages.append({"role": "assistant", "content": ChatGPT_reply})
18
  return ChatGPT_reply
19
 
20
- description = "This bot was made by Stephane Dube (dubestephane @ vivaldi.net). Feel free to send me a message for any question or inquiry. \n"
21
- title = "I am ready to answer any of your question."
22
- submit = gr.Button(value="Send")
23
- demo = gr.Interface(fn=CustomChatGPT, description = description, title = title, inputs = gr.inputs.Textbox(label = "Question", placeholder="E.g. What is the tallest building in the world?"), outputs = gr.outputs.Textbox(label = "Answer"))
24
 
25
  demo.launch()
 
17
  messages.append({"role": "assistant", "content": ChatGPT_reply})
18
  return ChatGPT_reply
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()