YoniFriedman commited on
Commit
68c3b44
·
verified ·
1 Parent(s): b5fee76

fixing source return

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -96,11 +96,11 @@ def nishauri(question, conversation_history: list[str]):
96
  )
97
  reply_to_user = completion.choices[0].message.content
98
  conversation_history.append({"user": question, "chatbot": reply_to_user})
99
- source1Return = ""
100
- source2Return = ""
101
- source3Return = ""
102
- source4Return = ""
103
- source5Return = ""
104
  return reply_to_user, source1return, source2return, source3return, source4return, source5return, conversation_history
105
 
106
  # Detect language and translate if needed
 
96
  )
97
  reply_to_user = completion.choices[0].message.content
98
  conversation_history.append({"user": question, "chatbot": reply_to_user})
99
+ source1return = ""
100
+ source2return = ""
101
+ source3return = ""
102
+ source4return = ""
103
+ source5return = ""
104
  return reply_to_user, source1return, source2return, source3return, source4return, source5return, conversation_history
105
 
106
  # Detect language and translate if needed