Spaces:
Sleeping
Sleeping
Tomas Larsson commited on
Commit ·
a0c5b6d
1
Parent(s): fe51435
start.py
CHANGED
|
@@ -46,7 +46,7 @@ try:
|
|
| 46 |
embedded_options = EmbeddedOptions()
|
| 47 |
)
|
| 48 |
############################################################################
|
| 49 |
-
|
| 50 |
|
| 51 |
pickle_file_path = 'vectorstore.pkl'
|
| 52 |
import pickle
|
|
@@ -55,7 +55,7 @@ try:
|
|
| 55 |
docs = pickle.load(file)
|
| 56 |
|
| 57 |
|
| 58 |
-
|
| 59 |
vectorstore = Weaviate.from_documents(
|
| 60 |
client = client,
|
| 61 |
documents = docs,
|
|
|
|
| 46 |
embedded_options = EmbeddedOptions()
|
| 47 |
)
|
| 48 |
############################################################################
|
| 49 |
+
st.session_state.ln = get_LN()
|
| 50 |
|
| 51 |
pickle_file_path = 'vectorstore.pkl'
|
| 52 |
import pickle
|
|
|
|
| 55 |
docs = pickle.load(file)
|
| 56 |
|
| 57 |
|
| 58 |
+
st.session_state.ln = get_LN()
|
| 59 |
vectorstore = Weaviate.from_documents(
|
| 60 |
client = client,
|
| 61 |
documents = docs,
|