prithivMLmods commited on
Commit
1bcab29
1 Parent(s): 923e498

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -8,7 +8,6 @@
8
  # furnished to do so, subject to the following conditions:
9
  #
10
  # ...
11
-
12
  import os
13
  import random
14
  import uuid
@@ -197,6 +196,7 @@ filters = {
197
  styles = {k["name"]: (k["prompt"], k["negative_prompt"]) for k in style_list}
198
  collage_styles = {k["name"]: (k["prompt"], k["negative_prompt"]) for k in collage_style_list}
199
  filter_styles = {k: (v["prompt"], v["negative_prompt"]) for k, v in filters.items()}
 
200
  STYLE_NAMES = list(styles.keys())
201
  COLLAGE_STYLE_NAMES = list(collage_styles.keys())
202
  FILTER_NAMES = list(filters.keys())
@@ -546,5 +546,7 @@ with gr.Blocks(css=css, theme="bethecloud/storj_theme") as demo:
546
  gr.Markdown("**Note:**")
547
  gr.Markdown("⚠️ users are accountable for the content they generate and are responsible for ensuring it meets appropriate ethical standards.")
548
  #gr.HTML(html_content)
 
 
549
  if __name__ == "__main__":
550
  demo.queue(max_size=40).launch()
 
8
  # furnished to do so, subject to the following conditions:
9
  #
10
  # ...
 
11
  import os
12
  import random
13
  import uuid
 
196
  styles = {k["name"]: (k["prompt"], k["negative_prompt"]) for k in style_list}
197
  collage_styles = {k["name"]: (k["prompt"], k["negative_prompt"]) for k in collage_style_list}
198
  filter_styles = {k: (v["prompt"], v["negative_prompt"]) for k, v in filters.items()}
199
+
200
  STYLE_NAMES = list(styles.keys())
201
  COLLAGE_STYLE_NAMES = list(collage_styles.keys())
202
  FILTER_NAMES = list(filters.keys())
 
546
  gr.Markdown("**Note:**")
547
  gr.Markdown("⚠️ users are accountable for the content they generate and are responsible for ensuring it meets appropriate ethical standards.")
548
  #gr.HTML(html_content)
549
+
550
+
551
  if __name__ == "__main__":
552
  demo.queue(max_size=40).launch()