Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -145,7 +145,7 @@ def infer_30(
|
|
145 |
).images[0]
|
146 |
print('-- got image --')
|
147 |
timestamp = datetime.datetime.now().strftime("%Y%m%d_%H%M%S")
|
148 |
-
sd35_path = f"
|
149 |
sd_image.save(sd35_path,optimize=False,compress_level=0)
|
150 |
#pyx.upload_to_ftp(sd35_path)
|
151 |
upload_to_ftp(sd35_path)
|
@@ -196,7 +196,7 @@ def infer_60(
|
|
196 |
).images[0]
|
197 |
print('-- got image --')
|
198 |
timestamp = datetime.datetime.now().strftime("%Y%m%d_%H%M%S")
|
199 |
-
sd35_path = f"
|
200 |
sd_image.save(sd35_path,optimize=False,compress_level=0)
|
201 |
#pyx.upload_to_ftp(sd35_path)
|
202 |
upload_to_ftp(sd35_path)
|
@@ -247,7 +247,7 @@ def infer_90(
|
|
247 |
).images[0]
|
248 |
print('-- got image --')
|
249 |
timestamp = datetime.datetime.now().strftime("%Y%m%d_%H%M%S")
|
250 |
-
sd35_path = f"
|
251 |
sd_image.save(sd35_path,optimize=False,compress_level=0)
|
252 |
#pyx.upload_to_ftp(sd35_path)
|
253 |
upload_to_ftp(sd35_path)
|
@@ -298,7 +298,7 @@ def infer_100(
|
|
298 |
).images[0]
|
299 |
print('-- got image --')
|
300 |
timestamp = datetime.datetime.now().strftime("%Y%m%d_%H%M%S")
|
301 |
-
sd35_path = f"
|
302 |
sd_image.save(sd35_path,optimize=False,compress_level=0)
|
303 |
#pyx.upload_to_ftp(sd35_path)
|
304 |
upload_to_ftp(sd35_path)
|
|
|
145 |
).images[0]
|
146 |
print('-- got image --')
|
147 |
timestamp = datetime.datetime.now().strftime("%Y%m%d_%H%M%S")
|
148 |
+
sd35_path = f"sd35ll32_{timestamp}.png"
|
149 |
sd_image.save(sd35_path,optimize=False,compress_level=0)
|
150 |
#pyx.upload_to_ftp(sd35_path)
|
151 |
upload_to_ftp(sd35_path)
|
|
|
196 |
).images[0]
|
197 |
print('-- got image --')
|
198 |
timestamp = datetime.datetime.now().strftime("%Y%m%d_%H%M%S")
|
199 |
+
sd35_path = f"sd35ll32_{timestamp}.png"
|
200 |
sd_image.save(sd35_path,optimize=False,compress_level=0)
|
201 |
#pyx.upload_to_ftp(sd35_path)
|
202 |
upload_to_ftp(sd35_path)
|
|
|
247 |
).images[0]
|
248 |
print('-- got image --')
|
249 |
timestamp = datetime.datetime.now().strftime("%Y%m%d_%H%M%S")
|
250 |
+
sd35_path = f"sd35ll32_{timestamp}.png"
|
251 |
sd_image.save(sd35_path,optimize=False,compress_level=0)
|
252 |
#pyx.upload_to_ftp(sd35_path)
|
253 |
upload_to_ftp(sd35_path)
|
|
|
298 |
).images[0]
|
299 |
print('-- got image --')
|
300 |
timestamp = datetime.datetime.now().strftime("%Y%m%d_%H%M%S")
|
301 |
+
sd35_path = f"sd35ll32_{timestamp}.png"
|
302 |
sd_image.save(sd35_path,optimize=False,compress_level=0)
|
303 |
#pyx.upload_to_ftp(sd35_path)
|
304 |
upload_to_ftp(sd35_path)
|