Spaces:
Runtime error
Runtime error
PlantBasedTen
commited on
Commit
•
7423671
1
Parent(s):
7a597cf
Upload 2 files
Browse files
app.py
CHANGED
@@ -72,7 +72,7 @@ args = parseargs()
|
|
72 |
def load_bot(
|
73 |
# env_file_path: str = ".env",
|
74 |
logging_config_path: str = "logging.yaml",
|
75 |
-
model_cache_dir: str = "
|
76 |
embedding_model_device: str = "cuda:0",
|
77 |
debug: bool = False,
|
78 |
):
|
|
|
72 |
def load_bot(
|
73 |
# env_file_path: str = ".env",
|
74 |
logging_config_path: str = "logging.yaml",
|
75 |
+
model_cache_dir: str = "./model_cache",
|
76 |
embedding_model_device: str = "cuda:0",
|
77 |
debug: bool = False,
|
78 |
):
|
bot.py
CHANGED
@@ -18,7 +18,7 @@ open_api_key = os.getenv("QDRANT_API_KEY")
|
|
18 |
def load_bot(
|
19 |
# env_file_path: str = ".env",
|
20 |
logging_config_path: str = "logging.yaml",
|
21 |
-
model_cache_dir: str = "
|
22 |
embedding_model_device: str = "cuda:0",
|
23 |
debug: bool = False,
|
24 |
):
|
|
|
18 |
def load_bot(
|
19 |
# env_file_path: str = ".env",
|
20 |
logging_config_path: str = "logging.yaml",
|
21 |
+
model_cache_dir: str = "./model_cache",
|
22 |
embedding_model_device: str = "cuda:0",
|
23 |
debug: bool = False,
|
24 |
):
|