Slycat commited on
Commit
b30f363
1 Parent(s): 0222cad

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -23,12 +23,12 @@ def change_conv():
23
  chatbot.chat(init_prompt)
24
  chatbot.cookies = {}
25
 
26
- def main(question):
27
  global n_conv
28
  # if(n_conv > 3):
29
  # n_conv = 0
30
  # change_conv(chatbot)
31
- information = retrieval.predict(question, api_name = "/predict")
32
  answer=chat_client.predict(
33
  "Howdy!",
34
  "new.json",
 
23
  chatbot.chat(init_prompt)
24
  chatbot.cookies = {}
25
 
26
+ def main(text):
27
  global n_conv
28
  # if(n_conv > 3):
29
  # n_conv = 0
30
  # change_conv(chatbot)
31
+ information = retrieval.predict(text, api_name = "/predict")
32
  answer=chat_client.predict(
33
  "Howdy!",
34
  "new.json",