Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -1,11 +1,13 @@
|
|
1 |
import gradio as gr
|
2 |
import spaces
|
3 |
|
4 |
-
from t2v_metrics import VQAScore, list_all_vqascore_models
|
5 |
-
|
6 |
import torch
|
7 |
torch.jit.script = lambda f: f
|
8 |
|
|
|
|
|
|
|
|
|
9 |
import os
|
10 |
os.environ['PYTORCH_JIT'] = '0'
|
11 |
print(f"PYTORCH_JIT: {os.environ['PYTORCH_JIT']}")
|
|
|
1 |
import gradio as gr
|
2 |
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 |
+
|
10 |
+
|
11 |
import os
|
12 |
os.environ['PYTORCH_JIT'] = '0'
|
13 |
print(f"PYTORCH_JIT: {os.environ['PYTORCH_JIT']}")
|