Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -20,12 +20,13 @@ if not os.path.exists(DIFFSYNTH_PATH):
|
|
| 20 |
)
|
| 21 |
|
| 22 |
# Import core modules from PusaV1
|
| 23 |
-
from PusaV1.diffsynth import WanVideoPusaPipeline, save_video
|
| 24 |
|
| 25 |
|
| 26 |
-
from PusaV1.diffsynth import ModelManager as BaseModelManager
|
| 27 |
|
| 28 |
-
|
|
|
|
|
|
|
| 29 |
def __init__(self, *args, **kwargs):
|
| 30 |
super().__init__(*args, **kwargs)
|
| 31 |
|
|
|
|
| 20 |
)
|
| 21 |
|
| 22 |
# Import core modules from PusaV1
|
| 23 |
+
from PusaV1.diffsynth import ModelManager, WanVideoPusaPipeline, save_video
|
| 24 |
|
| 25 |
|
|
|
|
| 26 |
|
| 27 |
+
|
| 28 |
+
|
| 29 |
+
class PatchedModelManager(ModelManager):
|
| 30 |
def __init__(self, *args, **kwargs):
|
| 31 |
super().__init__(*args, **kwargs)
|
| 32 |
|