Spaces:
Running
Running
Update app.py
#1
by
Greenbuddy1976
- opened
app.py
CHANGED
|
@@ -16,8 +16,11 @@ import os
|
|
| 16 |
from PIL import Image
|
| 17 |
|
| 18 |
def swap_face(source_file, target_file, doFaceEnhancer, video_quality):
|
| 19 |
-
source_path = "
|
| 20 |
-
|
|
|
|
|
|
|
|
|
|
| 21 |
|
| 22 |
# Save source image
|
| 23 |
source_image = Image.fromarray(source_file)
|
|
|
|
| 16 |
from PIL import Image
|
| 17 |
|
| 18 |
def swap_face(source_file, target_file, doFaceEnhancer, video_quality):
|
| 19 |
+
source_path = "Interner Speicher/DCIM/YouCam
|
| 20 |
+
Perfect/ 2025-04-13-22-5-24-222.Jjpg"
|
| 21 |
+
target_path = "/Interner Speicher/Download/
|
| 22 |
+
VideoDownlvader/ Emo_Dream__Winzi
|
| 23 |
+
ger._..phouse_4.mp4"
|
| 24 |
|
| 25 |
# Save source image
|
| 26 |
source_image = Image.fromarray(source_file)
|