Spaces:
Runtime error
Runtime error
Moibe
commited on
Commit
•
bd67bba
1
Parent(s):
49e6a55
Switch to pic
Browse files
app.py
CHANGED
@@ -25,7 +25,8 @@ def save_images_as_zip(path_foto, filename, plataforma):
|
|
25 |
|
26 |
def perform(input1, input2, input3):
|
27 |
|
28 |
-
|
|
|
29 |
#local o huggingface
|
30 |
plataforma = "huggingface"
|
31 |
|
@@ -39,9 +40,6 @@ def perform(input1, input2, input3):
|
|
39 |
|
40 |
longitud = len(input3)
|
41 |
|
42 |
-
print(f"El arreglo tiene {longitud} elementos")
|
43 |
-
time.sleep(3)
|
44 |
-
|
45 |
if longitud == 2:
|
46 |
procesador = "face_swapper face_enhancer"
|
47 |
elif longitud == 0:
|
|
|
25 |
|
26 |
def perform(input1, input2, input3):
|
27 |
|
28 |
+
#video o cualquier otro sería para imagenes.
|
29 |
+
modo = "pic"
|
30 |
#local o huggingface
|
31 |
plataforma = "huggingface"
|
32 |
|
|
|
40 |
|
41 |
longitud = len(input3)
|
42 |
|
|
|
|
|
|
|
43 |
if longitud == 2:
|
44 |
procesador = "face_swapper face_enhancer"
|
45 |
elif longitud == 0:
|