Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -288,7 +288,7 @@ def generate_30(
|
|
288 |
if latent_file is not None: # Check if a latent file is provided
|
289 |
sd_image_a = Image.open(latent_file.name)
|
290 |
timestamp = datetime.datetime.now().strftime("%Y%m%d_%H%M%S")
|
291 |
-
filename= f'rv_IP_{timestamp}.
|
292 |
print("-- using image file --")
|
293 |
print('-- generating image --')
|
294 |
#with torch.no_grad():
|
@@ -341,7 +341,7 @@ def generate_60(
|
|
341 |
if latent_file is not None: # Check if a latent file is provided
|
342 |
sd_image_a = Image.open(latent_file.name)
|
343 |
timestamp = datetime.datetime.now().strftime("%Y%m%d_%H%M%S")
|
344 |
-
filename= f'rv_IP_{timestamp}.
|
345 |
print("-- using image file --")
|
346 |
print('-- generating image --')
|
347 |
#with torch.no_grad():
|
@@ -394,7 +394,7 @@ def generate_90(
|
|
394 |
if latent_file is not None: # Check if a latent file is provided
|
395 |
sd_image_a = Image.open(latent_file.name)
|
396 |
timestamp = datetime.datetime.now().strftime("%Y%m%d_%H%M%S")
|
397 |
-
filename= f'rv_IP_{timestamp}.
|
398 |
print("-- using image file --")
|
399 |
print('-- generating image --')
|
400 |
#with torch.no_grad():
|
|
|
288 |
if latent_file is not None: # Check if a latent file is provided
|
289 |
sd_image_a = Image.open(latent_file.name)
|
290 |
timestamp = datetime.datetime.now().strftime("%Y%m%d_%H%M%S")
|
291 |
+
filename= f'rv_IP_{timestamp}.png'
|
292 |
print("-- using image file --")
|
293 |
print('-- generating image --')
|
294 |
#with torch.no_grad():
|
|
|
341 |
if latent_file is not None: # Check if a latent file is provided
|
342 |
sd_image_a = Image.open(latent_file.name)
|
343 |
timestamp = datetime.datetime.now().strftime("%Y%m%d_%H%M%S")
|
344 |
+
filename= f'rv_IP_{timestamp}.png'
|
345 |
print("-- using image file --")
|
346 |
print('-- generating image --')
|
347 |
#with torch.no_grad():
|
|
|
394 |
if latent_file is not None: # Check if a latent file is provided
|
395 |
sd_image_a = Image.open(latent_file.name)
|
396 |
timestamp = datetime.datetime.now().strftime("%Y%m%d_%H%M%S")
|
397 |
+
filename= f'rv_IP_{timestamp}.png'
|
398 |
print("-- using image file --")
|
399 |
print('-- generating image --')
|
400 |
#with torch.no_grad():
|