Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -512,7 +512,7 @@ def generate_text_zu_bild(file, prompt, k, rag_option):
|
|
512 |
if not splittet:
|
513 |
splits = document_loading_splitting()
|
514 |
document_storage_chroma(splits)
|
515 |
-
db =
|
516 |
#mit RAG:
|
517 |
neu_text_mit_chunks = rag_chain2(prompt, db, k)
|
518 |
#für Chat LLM:
|
|
|
512 |
if not splittet:
|
513 |
splits = document_loading_splitting()
|
514 |
document_storage_chroma(splits)
|
515 |
+
db = document_retrieval_chroma2()
|
516 |
#mit RAG:
|
517 |
neu_text_mit_chunks = rag_chain2(prompt, db, k)
|
518 |
#für Chat LLM:
|