Spaces:
Runtime error
Runtime error
Fix torch_dtype assignment in pipeline loading
Browse files
app.py
CHANGED
|
@@ -96,8 +96,7 @@ class MatrixGame:
|
|
| 96 |
try:
|
| 97 |
pipeline = AutoPipelineForVideo.from_pretrained(
|
| 98 |
self.MODEL_ID,
|
| 99 |
-
torch_dtype=
|
| 100 |
-
|
| 101 |
use_auth_token=self.hf_token,
|
| 102 |
)
|
| 103 |
except Exception as e:
|
|
@@ -108,7 +107,6 @@ class MatrixGame:
|
|
| 108 |
pipeline = ImageToVideoPipeline.from_pretrained(
|
| 109 |
self.MODEL_ID,
|
| 110 |
torch_dtype=self.dtype,
|
| 111 |
-
|
| 112 |
use_auth_token=self.hf_token,
|
| 113 |
)
|
| 114 |
except Exception as e:
|
|
|
|
| 96 |
try:
|
| 97 |
pipeline = AutoPipelineForVideo.from_pretrained(
|
| 98 |
self.MODEL_ID,
|
| 99 |
+
torch_dtype=self.dtype,
|
|
|
|
| 100 |
use_auth_token=self.hf_token,
|
| 101 |
)
|
| 102 |
except Exception as e:
|
|
|
|
| 107 |
pipeline = ImageToVideoPipeline.from_pretrained(
|
| 108 |
self.MODEL_ID,
|
| 109 |
torch_dtype=self.dtype,
|
|
|
|
| 110 |
use_auth_token=self.hf_token,
|
| 111 |
)
|
| 112 |
except Exception as e:
|