Spaces:
Running
on
Zero
Running
on
Zero
PyTorch manual upgrade not needed anymore (#22)
Browse files- PyTorch manual upgrade not needed anymore (ae1f9420b8681129754df889a22f3899c7ddeb9a)
- Update app.py (333fa600cff7e74f9dcaf10a8f77cc0f955341af)
Co-authored-by: Charles Bensimon <cbensimon@users.noreply.huggingface.co>
app.py
CHANGED
|
@@ -1,8 +1,3 @@
|
|
| 1 |
-
# PyTorch 2.8 (hack)
|
| 2 |
-
import os
|
| 3 |
-
os.system('pip install --upgrade --pre --extra-index-url https://download.pytorch.org/whl/nightly/cu126 "torch<2.9"')
|
| 4 |
-
|
| 5 |
-
# Actual demo code
|
| 6 |
import spaces
|
| 7 |
import torch
|
| 8 |
from diffusers.pipelines.wan.pipeline_wan_i2v import WanImageToVideoPipeline
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
import spaces
|
| 2 |
import torch
|
| 3 |
from diffusers.pipelines.wan.pipeline_wan_i2v import WanImageToVideoPipeline
|