Commit 723abd56 authored by kurumuz's avatar kurumuz

wtf lol

parent b8f4ae93
...@@ -173,14 +173,6 @@ def init_config_model(): ...@@ -173,14 +173,6 @@ def init_config_model():
# Instantiate our actual model. # Instantiate our actual model.
load_time = time.time() load_time = time.time()
model_hash = None model_hash = None
if config.model_path is None:
try:
config.model_path = f"{config.s3_bucket}/{config.s3_folder}"
logger.info(f"Path is set to S3 {config.model_path}")
except:
logger.error("No model path or S3 info provided")
raise
try: try:
if config.model_name != "dalle-mini": if config.model_name != "dalle-mini":
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment