DegMaTsu commited on
Commit
198f51a
·
verified ·
1 Parent(s): fd88f27

Upload 2 files

Browse files
Files changed (2) hide show
  1. app.py +6 -0
  2. requirements.txt +3 -0
app.py CHANGED
@@ -8,6 +8,12 @@ from PIL import Image
8
  from huggingface_hub import hf_hub_download
9
  import spaces
10
 
 
 
 
 
 
 
11
  hf_hub_download(repo_id="ezioruan/inswapper_128.onnx", filename="inswapper_128.onnx", local_dir="models/insightface")
12
  hf_hub_download(repo_id="martintomov/comfy", filename="facerestore_models/GPEN-BFR-512.onnx", local_dir="models/insightface")
13
  hf_hub_download(repo_id="darkeril/collection", filename="detection_Resnet50_Final.pth", local_dir="models/facedetection")
 
8
  from huggingface_hub import hf_hub_download
9
  import spaces
10
 
11
+ import gradio
12
+ import gradio_client
13
+
14
+ print("gradio version:", gradio.__version__)
15
+ print("gradio_client version:", gradio_client.__version__)
16
+
17
  hf_hub_download(repo_id="ezioruan/inswapper_128.onnx", filename="inswapper_128.onnx", local_dir="models/insightface")
18
  hf_hub_download(repo_id="martintomov/comfy", filename="facerestore_models/GPEN-BFR-512.onnx", local_dir="models/insightface")
19
  hf_hub_download(repo_id="darkeril/collection", filename="detection_Resnet50_Final.pth", local_dir="models/facedetection")
requirements.txt CHANGED
@@ -32,3 +32,6 @@ numpy==1.26.3
32
  segment_anything
33
  ultralytics
34
 
 
 
 
 
32
  segment_anything
33
  ultralytics
34
 
35
+ gradio==4.12.1
36
+ gradio_client==0.7.0
37
+