Spaces:
Running
Running
Upload 2 files
Browse files- requirements.txt +22 -0
- run.py +6 -0
requirements.txt
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
--extra-index-url https://download.pytorch.org/whl/cu118
|
2 |
+
|
3 |
+
numpy==1.24.2
|
4 |
+
gradio==3.38.0
|
5 |
+
opencv-python==4.7.0.72
|
6 |
+
onnx==1.14.0
|
7 |
+
insightface==0.7.3
|
8 |
+
psutil==5.9.5
|
9 |
+
pillow==9.5.0
|
10 |
+
torch==2.0.1+cu118; sys_platform != 'darwin'
|
11 |
+
torch==2.0.1; sys_platform == 'darwin'
|
12 |
+
torchvision==0.15.2+cu118; sys_platform != 'darwin'
|
13 |
+
torchvision==0.15.2; sys_platform == 'darwin'
|
14 |
+
onnxruntime==1.15.0; sys_platform == 'darwin' and platform_machine != 'arm64'
|
15 |
+
onnxruntime-silicon==1.13.1; sys_platform == 'darwin' and platform_machine == 'arm64'
|
16 |
+
onnxruntime-gpu==1.15.0; sys_platform != 'darwin'
|
17 |
+
protobuf==4.23.2
|
18 |
+
tqdm==4.65.0
|
19 |
+
codeformer-pip==0.0.4
|
20 |
+
gfpgan==1.3.8
|
21 |
+
ftfy
|
22 |
+
regex
|
run.py
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#!/usr/bin/env python3
|
2 |
+
|
3 |
+
from roop import core
|
4 |
+
|
5 |
+
if __name__ == '__main__':
|
6 |
+
core.run()
|