Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
import gradio as gr
|
2 |
-
torch.jit.script = lambda f: f # Avoid script error in lambda
|
3 |
import torch
|
|
|
4 |
from t2v_metrics import VQAScore, list_all_vqascore_models
|
5 |
|
6 |
def update_model(model_name):
|
|
|
1 |
import gradio as gr
|
|
|
2 |
import torch
|
3 |
+
torch.jit.script = lambda f: f # Avoid script error in lambda
|
4 |
from t2v_metrics import VQAScore, list_all_vqascore_models
|
5 |
|
6 |
def update_model(model_name):
|