Update app.py
Browse files
app.py
CHANGED
@@ -17,9 +17,10 @@ def CustomChatGPT(user_input):
|
|
17 |
messages.append({"role": "assistant", "content": ChatGPT_reply})
|
18 |
return ChatGPT_reply
|
19 |
|
20 |
-
description = "This
|
21 |
-
title = "I am
|
|
|
22 |
|
23 |
-
demo = gr.Interface(fn=CustomChatGPT, description = description, title = title, inputs = gr.inputs.Textbox(label = "Question"), 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 = "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 |
+
example = ["What is the tallest building in the world", "How many peoples in Japan", "Who is Julius Ceasar"]
|
23 |
|
24 |
+
demo = gr.Interface(fn=CustomChatGPT, description = description, title = title, example=exemple, inputs = gr.inputs.Textbox(label = "Question"), outputs = gr.outputs.Textbox(label = "Answer"))
|
25 |
|
26 |
demo.launch()
|