Benjy commited on
Commit
4d64c4f
1 Parent(s): e949dee

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -38,7 +38,7 @@ def main():
38
  embeddings = OpenAIEmbeddings()
39
  knowledge_base = FAISS.from_texts(chunks, embeddings)
40
 
41
- user_question = st.text_input("Ask a question about your PDF:", key=f"question_{idx}")
42
  if user_question:
43
  docs = knowledge_base.similarity_search(user_question)
44
 
 
38
  embeddings = OpenAIEmbeddings()
39
  knowledge_base = FAISS.from_texts(chunks, embeddings)
40
 
41
+ user_question = st.text_input(f"Ask a question about '{pdf_file.name}':", key=f"question_{idx}")
42
  if user_question:
43
  docs = knowledge_base.similarity_search(user_question)
44