Spaces:
Running
Running
prithivMLmods
commited on
Commit
•
495b50b
1
Parent(s):
d09692f
Update app.py
Browse files
app.py
CHANGED
@@ -159,22 +159,6 @@ def generate(
|
|
159 |
image_paths = [save_image(img) for img in images]
|
160 |
return image_paths, seed
|
161 |
|
162 |
-
#def load_predefined_images():
|
163 |
-
# predefined_images = [
|
164 |
-
# "assets/1.png",
|
165 |
-
# "assets/2.png",
|
166 |
-
# "assets/3.png",
|
167 |
-
# "assets/4.png",
|
168 |
-
# "assets/5.png",
|
169 |
-
# "assets/6.png",
|
170 |
-
# "assets/7.png",
|
171 |
-
# "assets/8.png",
|
172 |
-
# "assets/9.png",
|
173 |
-
# "assets/10.png",
|
174 |
-
# "assets/11.png",
|
175 |
-
# "assets/12.png",
|
176 |
-
# ]
|
177 |
-
# return predefined_images
|
178 |
|
179 |
with gr.Blocks(css=css, theme="bethecloud/storj_theme") as demo:
|
180 |
gr.Markdown(DESCRIPTIONXX)
|
@@ -299,10 +283,6 @@ with gr.Blocks(css=css, theme="bethecloud/storj_theme") as demo:
|
|
299 |
outputs=[result, seed],
|
300 |
)
|
301 |
|
302 |
-
|
303 |
-
#gr.Markdown("### Image Gallery")
|
304 |
-
#predefined_gallery = gr.Gallery(label="Image Gallery", columns=3, show_label=False, value=load_predefined_images())
|
305 |
-
|
306 |
gr.Markdown(
|
307 |
"""
|
308 |
<div style="text-align: justify;">
|
|
|
159 |
image_paths = [save_image(img) for img in images]
|
160 |
return image_paths, seed
|
161 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
162 |
|
163 |
with gr.Blocks(css=css, theme="bethecloud/storj_theme") as demo:
|
164 |
gr.Markdown(DESCRIPTIONXX)
|
|
|
283 |
outputs=[result, seed],
|
284 |
)
|
285 |
|
|
|
|
|
|
|
|
|
286 |
gr.Markdown(
|
287 |
"""
|
288 |
<div style="text-align: justify;">
|