Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -7,6 +7,7 @@ import numpy as np
|
|
| 7 |
from PIL import Image
|
| 8 |
import imageio
|
| 9 |
import shutil
|
|
|
|
| 10 |
|
| 11 |
# --- Part 1: Auto-Setup (Clone Repo & Download Weights) ---
|
| 12 |
|
|
@@ -128,7 +129,6 @@ try:
|
|
| 128 |
import hyvideo.pipelines.hunyuan_video_pipeline
|
| 129 |
from hyvideo.pipelines.hunyuan_video_pipeline import HunyuanVideo_1_5_Pipeline
|
| 130 |
from hyvideo.commons.infer_state import initialize_infer_state
|
| 131 |
-
import spaces
|
| 132 |
except ImportError as e:
|
| 133 |
print(f"CRITICAL ERROR: {e}")
|
| 134 |
sys.exit(1)
|
|
|
|
| 7 |
from PIL import Image
|
| 8 |
import imageio
|
| 9 |
import shutil
|
| 10 |
+
import spaces
|
| 11 |
|
| 12 |
# --- Part 1: Auto-Setup (Clone Repo & Download Weights) ---
|
| 13 |
|
|
|
|
| 129 |
import hyvideo.pipelines.hunyuan_video_pipeline
|
| 130 |
from hyvideo.pipelines.hunyuan_video_pipeline import HunyuanVideo_1_5_Pipeline
|
| 131 |
from hyvideo.commons.infer_state import initialize_infer_state
|
|
|
|
| 132 |
except ImportError as e:
|
| 133 |
print(f"CRITICAL ERROR: {e}")
|
| 134 |
sys.exit(1)
|