Spaces:
Sleeping
Sleeping
pickle save directiory changed
Browse files- api/web_server.py +1 -1
api/web_server.py
CHANGED
@@ -11,7 +11,7 @@ class Query(BaseModel):
|
|
11 |
|
12 |
app = FastAPI()
|
13 |
|
14 |
-
with open('
|
15 |
serialized_engine = file.read()
|
16 |
|
17 |
prompt_search_engine = dill.loads(serialized_engine)
|
|
|
11 |
|
12 |
app = FastAPI()
|
13 |
|
14 |
+
with open('api/engine.pickle', 'rb') as file:
|
15 |
serialized_engine = file.read()
|
16 |
|
17 |
prompt_search_engine = dill.loads(serialized_engine)
|