Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -10,6 +10,7 @@ import shutil
|
|
| 10 |
import requests
|
| 11 |
import base64
|
| 12 |
import io
|
|
|
|
| 13 |
|
| 14 |
# --- Part 1: Auto-Setup (Clone Repo & Download Weights) ---
|
| 15 |
|
|
@@ -110,7 +111,6 @@ try:
|
|
| 110 |
from hyvideo.commons.infer_state import initialize_infer_state
|
| 111 |
# Import the specific I2V System Prompt from the repo
|
| 112 |
from hyvideo.utils.rewrite.i2v_prompt import i2v_rewrite_system_prompt
|
| 113 |
-
import spaces
|
| 114 |
except ImportError as e:
|
| 115 |
print(f"CRITICAL ERROR: {e}")
|
| 116 |
sys.exit(1)
|
|
|
|
| 10 |
import requests
|
| 11 |
import base64
|
| 12 |
import io
|
| 13 |
+
import spaces
|
| 14 |
|
| 15 |
# --- Part 1: Auto-Setup (Clone Repo & Download Weights) ---
|
| 16 |
|
|
|
|
| 111 |
from hyvideo.commons.infer_state import initialize_infer_state
|
| 112 |
# Import the specific I2V System Prompt from the repo
|
| 113 |
from hyvideo.utils.rewrite.i2v_prompt import i2v_rewrite_system_prompt
|
|
|
|
| 114 |
except ImportError as e:
|
| 115 |
print(f"CRITICAL ERROR: {e}")
|
| 116 |
sys.exit(1)
|