Update inference_manager.py
Browse files- inference_manager.py +1 -0
inference_manager.py
CHANGED
@@ -294,6 +294,7 @@ class ModelManager:
|
|
294 |
# Initialize InferenceManager for each model
|
295 |
self.models[model_name] = InferenceManager(config_path=file_path)
|
296 |
except Exception as e:
|
|
|
297 |
print(f"Failed to initialize model {model_name} from {file_path}: {e}")
|
298 |
|
299 |
def get_model_name_from_url(self, url):
|
|
|
294 |
# Initialize InferenceManager for each model
|
295 |
self.models[model_name] = InferenceManager(config_path=file_path)
|
296 |
except Exception as e:
|
297 |
+
print(traceback.format_exc())
|
298 |
print(f"Failed to initialize model {model_name} from {file_path}: {e}")
|
299 |
|
300 |
def get_model_name_from_url(self, url):
|