Spaces:
Runtime error
Runtime error
PlantBasedTen
commited on
Commit
•
0a25259
1
Parent(s):
a863d90
Upload 2 files
Browse files
app.py
CHANGED
@@ -70,7 +70,7 @@ args = parseargs()
|
|
70 |
|
71 |
|
72 |
def load_bot(
|
73 |
-
|
74 |
logging_config_path: str = "logging.yaml",
|
75 |
model_cache_dir: str = "/model_cache",
|
76 |
embedding_model_device: str = "cuda:0",
|
@@ -118,7 +118,8 @@ def load_bot(
|
|
118 |
|
119 |
|
120 |
bot = load_bot(
|
121 |
-
env_file_path=
|
|
|
122 |
logging_config_path=args.logging_config_path,
|
123 |
model_cache_dir=args.model_cache_dir,
|
124 |
embedding_model_device=args.embedding_model_device,
|
|
|
70 |
|
71 |
|
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",
|
|
|
118 |
|
119 |
|
120 |
bot = load_bot(
|
121 |
+
env_file_path: str = ".env"
|
122 |
+
# env_file_path=args.env_file_path,
|
123 |
logging_config_path=args.logging_config_path,
|
124 |
model_cache_dir=args.model_cache_dir,
|
125 |
embedding_model_device=args.embedding_model_device,
|