Uhhy commited on
Commit
986d8cd
1 Parent(s): 4edd91d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -1
app.py CHANGED
@@ -50,7 +50,6 @@ class ModelManager:
50
  def load_model(self, model_config):
51
  if model_config['name'] not in self.models:
52
  try:
53
- # Corrected line: Use model_path instead of repo_id and filename
54
  self.models[model_config['name']] = Llama.from_pretrained(model_path=model_config['repo_id'])
55
  except Exception as e:
56
  print(f"Error loading model {model_config['name']}: {e}")
 
50
  def load_model(self, model_config):
51
  if model_config['name'] not in self.models:
52
  try:
 
53
  self.models[model_config['name']] = Llama.from_pretrained(model_path=model_config['repo_id'])
54
  except Exception as e:
55
  print(f"Error loading model {model_config['name']}: {e}")