Spaces:
Running on Zero
Running on Zero
Fix startup (remove --pre updates)
Browse files
app.py
CHANGED
|
@@ -1,8 +1,5 @@
|
|
| 1 |
-
import os
|
| 2 |
-
# PyTorch 2.8 (temporary hack)
|
| 3 |
-
os.system('pip install --upgrade --pre --extra-index-url https://download.pytorch.org/whl/nightly/cu126 "torch<2.9" spaces')
|
| 4 |
-
|
| 5 |
# --- 1. Model Download and Setup (Diffusers Backend) ---
|
|
|
|
| 6 |
import spaces
|
| 7 |
import torch
|
| 8 |
from diffusers import FlowMatchEulerDiscreteScheduler
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
# --- 1. Model Download and Setup (Diffusers Backend) ---
|
| 2 |
+
import os
|
| 3 |
import spaces
|
| 4 |
import torch
|
| 5 |
from diffusers import FlowMatchEulerDiscreteScheduler
|