OdinStef commited on
Commit
d22d48f
·
1 Parent(s): f597394

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -3
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 chatbotwas made by Stephane Dube (dubestephane @ vivaldi.net) \n"
21
- title = "I am an AI, ready to answer any of your question."
 
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()