Spaces:
vztu
/
Runtime error

vztu commited on
Commit
5a40246
·
verified ·
1 Parent(s): cee0462

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -16,6 +16,7 @@ from cover.datasets import UnifiedFrameSampler, spatial_temporal_view_decomposit
16
  from cover.models import COVER
17
 
18
  import pandas as pd
 
19
 
20
  mean, std = (
21
  torch.FloatTensor([123.675, 116.28, 103.53]),
@@ -110,6 +111,7 @@ def create_bar_chart(scores, comparisons):
110
  return image_path
111
 
112
 
 
113
  def inference_one_video(input_video):
114
  """
115
  BASIC SETTINGS
 
16
  from cover.models import COVER
17
 
18
  import pandas as pd
19
+ import spaces
20
 
21
  mean, std = (
22
  torch.FloatTensor([123.675, 116.28, 103.53]),
 
111
  return image_path
112
 
113
 
114
+ @spaces.GPU
115
  def inference_one_video(input_video):
116
  """
117
  BASIC SETTINGS