Update app.py
Browse files
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 = "
|
21 |
-
title = "
|
22 |
-
|
23 |
-
demo = gr.Interface(fn=CustomChatGPT, description = description, title = title, inputs = gr.inputs.Textbox(label = "Question", placeholder="
|
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()
|