Spaces:
Build error
Build error
heikowagner
commited on
Commit
•
8a9a25c
1
Parent(s):
55c987d
Update app/run.py
Browse files- app/run.py +3 -3
app/run.py
CHANGED
@@ -45,9 +45,9 @@ create_and_add(collection_name, sub_docs, model_name, metadata)
|
|
45 |
|
46 |
llm= load_model.load_cpu_model()
|
47 |
# %%
|
48 |
-
chain = load_model.create_chain(llm, collection=collection_name, model_name=model_name, metadata=metadata)
|
49 |
-
result = chain({"query": "Ist mein Kinderwagen bei einem Leitungswasserschaden mitversichert?"})
|
50 |
-
print(result)
|
51 |
#llm= load_model.load_openai_model(temperature=0.1)
|
52 |
|
53 |
|
|
|
45 |
|
46 |
llm= load_model.load_cpu_model()
|
47 |
# %%
|
48 |
+
#chain = load_model.create_chain(llm, collection=collection_name, model_name=model_name, metadata=metadata)
|
49 |
+
#result = chain({"query": "Ist mein Kinderwagen bei einem Leitungswasserschaden mitversichert?"})
|
50 |
+
#print(result)
|
51 |
#llm= load_model.load_openai_model(temperature=0.1)
|
52 |
|
53 |
|