Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -105,11 +105,7 @@ def main():
|
|
| 105 |
text_chunks = get_text_chunks(pdf_text)
|
| 106 |
create_vectorstore_and_store(text_chunks)
|
| 107 |
|
| 108 |
-
|
| 109 |
-
retrieved_docs = retriever.invoke(user_question)
|
| 110 |
-
if user_question:
|
| 111 |
-
st.text(retrieved_docs[0].page_content)
|
| 112 |
-
# bei eingehendem PDF
|
| 113 |
|
| 114 |
similarity_score = calculate_similarity(user_question, pdf_text)
|
| 115 |
|
|
|
|
| 105 |
text_chunks = get_text_chunks(pdf_text)
|
| 106 |
create_vectorstore_and_store(text_chunks)
|
| 107 |
|
| 108 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
| 109 |
|
| 110 |
similarity_score = calculate_similarity(user_question, pdf_text)
|
| 111 |
|