Spaces:
Running
Running
Update app.py
Browse files
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'):
|