peterpull commited on
Commit
ebe8e92
·
1 Parent(s): f56e86a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -3
app.py CHANGED
@@ -116,13 +116,17 @@ def chatbot(input_text, mentioned_person='Mediator John Haynes', confidence_thre
116
  with open('about.txt', 'r') as file:
117
  about = file.read()
118
 
 
 
 
 
119
  iface = Interface(
120
  fn=chatbot,
121
  inputs=Textbox("Enter your question"),
122
  outputs="text",
123
- title="The MediatorBot",
124
- description="GPT3_Chatbot drawing on contextual mediation material, v0.6H",
125
- examples=[["Sarah and Charlie are having a dispute around how to share the Easter holidays with their children. Can you please give them 3 options?"]]
126
  article=about)
127
 
128
  iface.launch()
 
116
  with open('about.txt', 'r') as file:
117
  about = file.read()
118
 
119
+ examples=[["Sarah and Charlie are having a dispute around how to share the Easter holidays with their children. Can you please give them 3 options?"]]
120
+ description="GPT3_Chatbot drawing on contextual mediation material, v0.6H"
121
+ title="The MediatorBot"
122
+
123
  iface = Interface(
124
  fn=chatbot,
125
  inputs=Textbox("Enter your question"),
126
  outputs="text",
127
+ title=title,
128
+ description=description,
129
+ examples=examples
130
  article=about)
131
 
132
  iface.launch()