Spaces:
Running
on
Zero
Running
on
Zero
Commit
·
596ef1a
1
Parent(s):
563368d
fix
Browse files
app.py
CHANGED
|
@@ -16,7 +16,7 @@ from dia.model import Dia
|
|
| 16 |
print("Loading Nari model...")
|
| 17 |
try:
|
| 18 |
# Use the function from inference.py
|
| 19 |
-
model = Dia.from_pretrained("nari-labs/Dia-1.6B", compute_dtype="
|
| 20 |
except Exception as e:
|
| 21 |
print(f"Error loading Nari model: {e}")
|
| 22 |
raise
|
|
|
|
| 16 |
print("Loading Nari model...")
|
| 17 |
try:
|
| 18 |
# Use the function from inference.py
|
| 19 |
+
model = Dia.from_pretrained("nari-labs/Dia-1.6B", compute_dtype="float32")
|
| 20 |
except Exception as e:
|
| 21 |
print(f"Error loading Nari model: {e}")
|
| 22 |
raise
|