linoyts HF staff commited on
Commit
29017ec
1 Parent(s): 9991b85

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +23 -4
app.py CHANGED
@@ -138,11 +138,30 @@ css = '''
138
  }
139
 
140
  '''
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
141
  with gr.Blocks(css=css) as demo:
142
- gr.Markdown(f"""# Latent Navigation
143
- ## Exploring CLIP text space with FLUX.1 schnell 🪐
144
- [[code](https://github.com/linoytsaban/semantic-sliders)]
145
- """)
 
146
 
147
  x_concept_1 = gr.State("")
148
  x_concept_2 = gr.State("")
 
138
  }
139
 
140
  '''
141
+ intro = """
142
+ <div style="display: flex;align-items: center;justify-content: center">
143
+ <img src="https://huggingface.co/spaces/LatentNavigation/latentnavigation-flux/blob/main/huggy_astronaut_text.png" width="100" style="display: inline-block">
144
+ <h3 style="display: inline-block;margin-left: 10px;margin-top: 6px;font-weight: 500">Limitless Image Editing using Text-to-Image Models</h3>
145
+ </div>
146
+ <div style="display: flex;align-items: center;justify-content: center">
147
+ <h3 style="display: inline-block;margin-left: 10px;margin-top: 6px;font-weight: 500">Exploring CLIP text space with FLUX.1 schnell 🪐</h3>
148
+ </div>
149
+
150
+ <p style="font-size: 0.95rem;margin: 0rem;line-height: 1.2em;margin-top:1em;display: inline-block">
151
+ <a href="https://github.com/linoytsaban/semantic-sliders" target="_blank">code</a>
152
+ |
153
+ <a href="https://huggingface.co/spaces/LatentNavigation/latentnavigation-flux?duplicate=true" target="_blank" style="
154
+ display: inline-block;
155
+ ">
156
+ <img style="margin-top: -1em;margin-bottom: 0em;position: absolute;" src="https://bit.ly/3CWLGkA" alt="Duplicate Space"></a>
157
+ </p>
158
+ """
159
  with gr.Blocks(css=css) as demo:
160
+ # gr.Markdown(f"""# Latent Navigation
161
+ # ## Exploring CLIP text space with FLUX.1 schnell 🪐
162
+ # [[code](https://github.com/linoytsaban/semantic-sliders)]
163
+ # """)
164
+ gr.HTML(intro)
165
 
166
  x_concept_1 = gr.State("")
167
  x_concept_2 = gr.State("")