multimodalart HF Staff commited on
Commit
edf6d55
·
verified ·
1 Parent(s): b2ea4e4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -3
app.py CHANGED
@@ -1,6 +1,9 @@
 
 
 
1
  import gradio as gr
2
  import torch
3
- import os
4
  import numpy as np
5
  from PIL import Image
6
  import cv2
@@ -22,8 +25,6 @@ from diffposetalk.diffposetalk import DiffPoseTalk
22
 
23
  from huggingface_hub import snapshot_download
24
 
25
- os.system("pip install pytorch3d -f https://dl.fbaipublicfiles.com/pytorch3d/packaging/wheels/py310_cu121_pyt221/download.html")
26
-
27
  os.makedirs("pretrained_models", exist_ok=True)
28
 
29
  snapshot_download(
 
1
+ import os
2
+ os.system("pip install pytorch3d -f https://dl.fbaipublicfiles.com/pytorch3d/packaging/wheels/py310_cu121_pyt221/download.html")
3
+
4
  import gradio as gr
5
  import torch
6
+
7
  import numpy as np
8
  from PIL import Image
9
  import cv2
 
25
 
26
  from huggingface_hub import snapshot_download
27
 
 
 
28
  os.makedirs("pretrained_models", exist_ok=True)
29
 
30
  snapshot_download(