Neurolingua commited on
Commit
a812aa7
·
verified ·
1 Parent(s): 04f308f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -208,7 +208,7 @@ initialize_chroma()
208
  def query_rag(query_text: str):
209
  embedding_function = get_embedding_function()
210
  db = Chroma(persist_directory=CHROMA_PATH, embedding_function=embedding_function)
211
-
212
  # Check if the query is related to a PDF
213
  if "from pdf" in query_text.lower() or "in pdf" in query_text.lower():
214
  # Provide some context about handling PDFs
 
208
  def query_rag(query_text: str):
209
  embedding_function = get_embedding_function()
210
  db = Chroma(persist_directory=CHROMA_PATH, embedding_function=embedding_function)
211
+ print(query_text)
212
  # Check if the query is related to a PDF
213
  if "from pdf" in query_text.lower() or "in pdf" in query_text.lower():
214
  # Provide some context about handling PDFs