Fr33d0m21 commited on
Commit
bad794d
·
1 Parent(s): 036212a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -19
app.py CHANGED
@@ -7,7 +7,7 @@ from share_btn import community_icon_html, loading_icon_html, share_js
7
 
8
  MODELS = ['ViT-L (best for Stable Diffusion 1.*)', 'ViT-H (best for Stable Diffusion 2.*)']
9
 
10
- # download preprocessed files
11
  PREPROCESS_FILES = [
12
  'ViT-H-14_laion2b_s32b_b79k_artists.pkl',
13
  'ViT-H-14_laion2b_s32b_b79k_flavors.pkl',
@@ -80,30 +80,15 @@ TITLE = """
80
  </h1>
81
  </div>
82
  <p style="margin-bottom: 10px; font-size: 94%">
83
- Want to figure out what a good prompt might be to create new images like an existing one?<br>The CLIP Interrogator is here to get you answers!
84
  </p>
85
- <p>You can skip the queue by duplicating this space and upgrading to gpu in settings: <a style='display:inline-block' href='https://huggingface.co/spaces/pharma/CLIP-Interrogator?duplicate=true'><img src='https://img.shields.io/badge/-Duplicate%20Space-blue?labelColor=white&style=flat&logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAP5JREFUOE+lk7FqAkEURY+ltunEgFXS2sZGIbXfEPdLlnxJyDdYB62sbbUKpLbVNhyYFzbrrA74YJlh9r079973psed0cvUD4A+4HoCjsA85X0Dfn/RBLBgBDxnQPfAEJgBY+A9gALA4tcbamSzS4xq4FOQAJgCDwV2CPKV8tZAJcAjMMkUe1vX+U+SMhfAJEHasQIWmXNN3abzDwHUrgcRGmYcgKe0bxrblHEB4E/pndMazNpSZGcsZdBlYJcEL9Afo75molJyM2FxmPgmgPqlWNLGfwZGG6UiyEvLzHYDmoPkDDiNm9JR9uboiONcBXrpY1qmgs21x1QwyZcpvxt9NS09PlsPAAAAAElFTkSuQmCC&logoWidth=14' alt='Duplicate Space'></a></p>
86
  </div>
87
  """
88
 
89
  ARTICLE = """
90
  <div style="text-align: center; max-width: 650px; margin: 0 auto;">
91
- <p>
92
- Example art by <a href="https://pixabay.com/illustrations/watercolour-painting-art-effect-4799014/">Layers</a>
93
- and <a href="https://pixabay.com/illustrations/animal-painting-cat-feline-pet-7154059/">Lin Tong</a>
94
- from pixabay.com
95
- </p>
96
-
97
- <p>
98
- Server busy? You can also run on <a href="https://colab.research.google.com/github/pharmapsychotic/clip-interrogator/blob/main/clip_interrogator.ipynb">Google Colab</a>
99
- </p>
100
-
101
- <p>
102
- Has this been helpful to you? Follow me on twitter
103
- <a href="https://twitter.com/pharmapsychotic">@pharmapsychotic</a><br>
104
- and check out more tools at my
105
- <a href="https://pharmapsychotic.com/tools.html">Ai generative art tools list</a>
106
- </p>
107
  </div>
108
  """
109
 
 
7
 
8
  MODELS = ['ViT-L (best for Stable Diffusion 1.*)', 'ViT-H (best for Stable Diffusion 2.*)']
9
 
10
+ # download preprocessed file
11
  PREPROCESS_FILES = [
12
  'ViT-H-14_laion2b_s32b_b79k_artists.pkl',
13
  'ViT-H-14_laion2b_s32b_b79k_flavors.pkl',
 
80
  </h1>
81
  </div>
82
  <p style="margin-bottom: 10px; font-size: 94%">
83
+ Want some ideas for your next remodel?<br>The Remodel Dreamer will create a prompt of your current home or room to create some amazing spaces!
84
  </p>
85
+
86
  </div>
87
  """
88
 
89
  ARTICLE = """
90
  <div style="text-align: center; max-width: 650px; margin: 0 auto;">
91
+
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
92
  </div>
93
  """
94