PlantBasedTen commited on
Commit
0cc0e0f
1 Parent(s): efa6056

Upload 2 files

Browse files
Files changed (2) hide show
  1. app.py +1 -2
  2. bot.py +1 -1
app.py CHANGED
@@ -70,7 +70,7 @@ args = parseargs()
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,7 +118,6 @@ def load_bot(
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,
 
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=args.env_file_path,
122
  logging_config_path=args.logging_config_path,
123
  model_cache_dir=args.model_cache_dir,
bot.py CHANGED
@@ -16,7 +16,7 @@ open_api_key = os.getenv("QDRANT_API_KEY")
16
 
17
 
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",
 
16
 
17
 
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",