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