Fix syntax error - remove orphaned except block and fix indentation

- Remove orphaned 'except Exception as e:' block that had no matching try
- Fix indentation for wan scheduler configuration
- Change 'I2V model loaded' to generic 'Model loaded' message
parent 05831edb
......@@ -8790,12 +8790,8 @@ def main(args):
except:
pass
print(f" ✅ I2V model loaded successfully")
timing.end_step() # i2v_model_loading
except Exception as e:
print(f"❌ Failed to load I2V model: {e}")
sys.exit(1)
print(f" ✅ Model loaded successfully")
timing.end_step() # model_loading
# ─── Audio Generation (Pre-video) ──────────────────────────────────────────
audio_path = None
......
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