chenjoya commited on
Commit
722ddc5
·
verified ·
1 Parent(s): aa3849a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -9,6 +9,8 @@ huggingface_hub.login(os.getenv('HF_TOKEN'))
9
 
10
  # python -m demo.app --resume_from_checkpoint ...
11
 
 
 
12
  liveinfer = LiveInfer()
13
 
14
  def ffmpeg_once(src_path: str, dst_path: str, *, fps: int = None, resolution: int = None, pad: str = '#000000', mode='bicubic'):
 
9
 
10
  # python -m demo.app --resume_from_checkpoint ...
11
 
12
+ x = torch.rand(100).cuda() # init gpu
13
+
14
  liveinfer = LiveInfer()
15
 
16
  def ffmpeg_once(src_path: str, dst_path: str, *, fps: int = None, resolution: int = None, pad: str = '#000000', mode='bicubic'):