Spaces:
Build error
Build error
heikowagner
commited on
Commit
·
8121a5d
1
Parent(s):
629feea
Update app/run.py
Browse files- app/run.py +1 -1
app/run.py
CHANGED
@@ -41,6 +41,6 @@ sub_docs = load_and_split(docs, chunk_size=1000)
|
|
41 |
create_and_add(collection_name, sub_docs, model_name, metadata)
|
42 |
|
43 |
# %%
|
44 |
-
chain = load_model.create_chain(llm, collection=collection_name, model_name=model_name)
|
45 |
#result = chain({"query": "Ist mein Kinderwagen bei einem Leitungswasserschaden mitversichert?"})
|
46 |
#print(result)
|
|
|
41 |
create_and_add(collection_name, sub_docs, model_name, metadata)
|
42 |
|
43 |
# %%
|
44 |
+
chain = load_model.create_chain(llm, collection=collection_name, model_name=model_name, metadata=metadata)
|
45 |
#result = chain({"query": "Ist mein Kinderwagen bei einem Leitungswasserschaden mitversichert?"})
|
46 |
#print(result)
|