Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -122,7 +122,7 @@ def infer_30(
|
|
122 |
upscale_path = f"sd35l_upscale_{seed}.png"
|
123 |
downscale2.save(upscale_path,optimize=False,compress_level=0)
|
124 |
upload_to_ftp(upscale_path)
|
125 |
-
return sd_image,
|
126 |
|
127 |
@spaces.GPU(duration=60)
|
128 |
def infer_60(
|
@@ -167,7 +167,7 @@ def infer_60(
|
|
167 |
upscale_path = f"sd35l_upscale_{seed}.png"
|
168 |
downscale2.save(upscale_path,optimize=False,compress_level=0)
|
169 |
upload_to_ftp(upscale_path)
|
170 |
-
return sd_image,
|
171 |
|
172 |
@spaces.GPU(duration=90)
|
173 |
def infer_90(
|
@@ -212,7 +212,7 @@ def infer_90(
|
|
212 |
upscale_path = f"sd35l_upscale_{seed}.png"
|
213 |
downscale2.save(upscale_path,optimize=False,compress_level=0)
|
214 |
upload_to_ftp(upscale_path)
|
215 |
-
return sd_image,
|
216 |
|
217 |
@spaces.GPU(duration=100)
|
218 |
def infer_100(
|
@@ -257,7 +257,7 @@ def infer_100(
|
|
257 |
upscale_path = f"sd35l_upscale_{seed}.png"
|
258 |
downscale2.save(upscale_path,optimize=False,compress_level=0)
|
259 |
upload_to_ftp(upscale_path)
|
260 |
-
return sd_image,
|
261 |
|
262 |
css = """
|
263 |
#col-container {margin: 0 auto;max-width: 640px;}
|
|
|
122 |
upscale_path = f"sd35l_upscale_{seed}.png"
|
123 |
downscale2.save(upscale_path,optimize=False,compress_level=0)
|
124 |
upload_to_ftp(upscale_path)
|
125 |
+
return sd_image, prompt
|
126 |
|
127 |
@spaces.GPU(duration=60)
|
128 |
def infer_60(
|
|
|
167 |
upscale_path = f"sd35l_upscale_{seed}.png"
|
168 |
downscale2.save(upscale_path,optimize=False,compress_level=0)
|
169 |
upload_to_ftp(upscale_path)
|
170 |
+
return sd_image, prompt
|
171 |
|
172 |
@spaces.GPU(duration=90)
|
173 |
def infer_90(
|
|
|
212 |
upscale_path = f"sd35l_upscale_{seed}.png"
|
213 |
downscale2.save(upscale_path,optimize=False,compress_level=0)
|
214 |
upload_to_ftp(upscale_path)
|
215 |
+
return sd_image, prompt
|
216 |
|
217 |
@spaces.GPU(duration=100)
|
218 |
def infer_100(
|
|
|
257 |
upscale_path = f"sd35l_upscale_{seed}.png"
|
258 |
downscale2.save(upscale_path,optimize=False,compress_level=0)
|
259 |
upload_to_ftp(upscale_path)
|
260 |
+
return sd_image, prompt
|
261 |
|
262 |
css = """
|
263 |
#col-container {margin: 0 auto;max-width: 640px;}
|