Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -1,10 +1,8 @@
|
|
1 |
import os
|
2 |
|
3 |
-
os.system('wget
|
4 |
-
os.system('wget
|
5 |
-
os.system('wget
|
6 |
-
os.system('wget "https://public-vigen-video.oss-cn-shanghai.aliyuncs.com/robin/models/rrdb_realesrnet_psnr.pth?OSSAccessKeyId=LTAI4G6bfnyW4TA4wFUXTYBe&Expires=1961116389&Signature=JZIBJOtfE5ePUyETslpDQsYwHpU%3D" -O weights/rrdb_realesrnet_psnr.pth')
|
7 |
-
os.system('wget "https://public-vigen-video.oss-cn-shanghai.aliyuncs.com/robin/models/ParseNet-latest.pth?OSSAccessKeyId=LTAI4G6bfnyW4TA4wFUXTYBe&Expires=1961116134&Signature=bnMwU1JogmNbARto6G%2B7iaJQCHs%3D" -O weights/ParseNet-latest.pth')
|
8 |
import gradio as gr
|
9 |
|
10 |
'''
|
@@ -109,7 +107,7 @@ channel_multiplier = 2
|
|
109 |
narrow = 1
|
110 |
use_sr = False
|
111 |
use_cuda = False
|
112 |
-
sr_model = '
|
113 |
|
114 |
|
115 |
|
|
|
1 |
import os
|
2 |
|
3 |
+
os.system('wget https://huggingface.co/akhaliq/RetinaFace-R50/resolve/main/RetinaFace-R50.pth')
|
4 |
+
os.system('wget https://huggingface.co/akhaliq/GPEN-BFR-512/resolve/main/GPEN-BFR-512.pth')
|
5 |
+
os.system('wget https://huggingface.co/akhaliq/realesrnet_x2/resolve/main/realesrnet_x2.pth')
|
|
|
|
|
6 |
import gradio as gr
|
7 |
|
8 |
'''
|
|
|
107 |
narrow = 1
|
108 |
use_sr = False
|
109 |
use_cuda = False
|
110 |
+
sr_model = 'realesrnet_x2'
|
111 |
|
112 |
|
113 |
|