Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -44,7 +44,7 @@ def add_random_noise(prompt, noise_level=1.00):
|
|
44 |
|
45 |
def build():
|
46 |
def zip_files():
|
47 |
-
with ZipFile(f"{
|
48 |
for file in b.imagens:
|
49 |
zipObj.write(file, os.path.basename(file))
|
50 |
b.imagens = []
|
|
|
44 |
|
45 |
def build():
|
46 |
def zip_files():
|
47 |
+
with ZipFile(f"{random.randint(0, 10000)}.zip", "w") as zipObj:
|
48 |
for file in b.imagens:
|
49 |
zipObj.write(file, os.path.basename(file))
|
50 |
b.imagens = []
|