vclmax2 commited on
Commit
0bfb81f
·
verified ·
1 Parent(s): 844b376

Upload app.py with huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +5 -0
app.py CHANGED
@@ -63,6 +63,11 @@ def has_audio_stream(path: str) -> bool:
63
  return bool(result.stdout.strip())
64
 
65
 
 
 
 
 
 
66
  def _encode_frames(
67
  frame_bytes: list[bytes],
68
  timestamps: list[float],
 
63
  return bool(result.stdout.strip())
64
 
65
 
66
+ @spaces.GPU(duration=1)
67
+ def _gpu_warmup():
68
+ pass
69
+
70
+
71
  def _encode_frames(
72
  frame_bytes: list[bytes],
73
  timestamps: list[float],