Spaces:
Build error
Build error
Moibe
commited on
Commit
路
159f3d7
1
Parent(s):
95cbdc8
Fixing sleep times
Browse files
app.py
CHANGED
|
@@ -8,8 +8,7 @@ import zipfile36 as zipfile
|
|
| 8 |
def save_images_as_zip(path_foto, filename, plataforma):
|
| 9 |
|
| 10 |
print("Entr茅 a la funci贸n que hace los zips...")
|
| 11 |
-
|
| 12 |
-
|
| 13 |
with zipfile.ZipFile(filename, "w") as zip_file:
|
| 14 |
for foto in os.listdir(path_foto):
|
| 15 |
print("La foto en os.listdir es: ", foto)
|
|
@@ -60,7 +59,7 @@ def greet(input1, input2):
|
|
| 60 |
filename = path_parts[-1]
|
| 61 |
nom_video = filename[:-4]
|
| 62 |
print("Esto es filename alias nom_video: ", nom_video)
|
| 63 |
-
time.sleep(
|
| 64 |
|
| 65 |
path_particular = "/".join(path_parts[0:len(path_parts) - 1])
|
| 66 |
path_general = "/".join(path_parts[0:len(path_parts) - 2])
|
|
@@ -78,7 +77,7 @@ def greet(input1, input2):
|
|
| 78 |
print("Estos son los files que hay:")
|
| 79 |
print(files)
|
| 80 |
|
| 81 |
-
time.sleep(
|
| 82 |
|
| 83 |
ext_imagen = "png"
|
| 84 |
ext_video = "mp4"
|
|
|
|
| 8 |
def save_images_as_zip(path_foto, filename, plataforma):
|
| 9 |
|
| 10 |
print("Entr茅 a la funci贸n que hace los zips...")
|
| 11 |
+
|
|
|
|
| 12 |
with zipfile.ZipFile(filename, "w") as zip_file:
|
| 13 |
for foto in os.listdir(path_foto):
|
| 14 |
print("La foto en os.listdir es: ", foto)
|
|
|
|
| 59 |
filename = path_parts[-1]
|
| 60 |
nom_video = filename[:-4]
|
| 61 |
print("Esto es filename alias nom_video: ", nom_video)
|
| 62 |
+
time.sleep(1)
|
| 63 |
|
| 64 |
path_particular = "/".join(path_parts[0:len(path_parts) - 1])
|
| 65 |
path_general = "/".join(path_parts[0:len(path_parts) - 2])
|
|
|
|
| 77 |
print("Estos son los files que hay:")
|
| 78 |
print(files)
|
| 79 |
|
| 80 |
+
time.sleep(1)
|
| 81 |
|
| 82 |
ext_imagen = "png"
|
| 83 |
ext_video = "mp4"
|