wb-droid commited on
Commit
48448ec
1 Parent(s): 8fe2d96

Minor adjustment.

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -92,7 +92,7 @@ def query(question_text, llm, session_data):
92
  s = s[1:-1]
93
  else:
94
  s = ans
95
- rag_text = "Query result With RAG:\n\n" + "".join(s)
96
  return without_rag_text, rag_text
97
 
98
  def upload_file(file, session_data):
 
92
  s = s[1:-1]
93
  else:
94
  s = ans
95
+ rag_text = "Query result With RAG:\n\n" + "".join(s).split("[/INST]")[0]
96
  return without_rag_text, rag_text
97
 
98
  def upload_file(file, session_data):