zhiqiulin commited on
Commit
be34e7c
1 Parent(s): cd674cb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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):