Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -3,7 +3,7 @@ import spaces
|
|
3 |
|
4 |
import torch
|
5 |
torch.jit.script = lambda f: f
|
6 |
-
|
7 |
|
8 |
from t2v_metrics import VQAScore, list_all_vqascore_models
|
9 |
|
|
|
3 |
|
4 |
import torch
|
5 |
torch.jit.script = lambda f: f
|
6 |
+
torch.autocast = lambda device_type, dtype: torch.autocast(device_type, torch.float)
|
7 |
|
8 |
from t2v_metrics import VQAScore, list_all_vqascore_models
|
9 |
|