center footer similar to header

#98
by akhaliq HF staff - opened
Files changed (1) hide show
  1. app.py +18 -16
app.py CHANGED
@@ -235,22 +235,24 @@ title = """
235
  </div>
236
  """
237
  article = """
238
- <p>
239
- Example art by <a href="https://pixabay.com/illustrations/watercolour-painting-art-effect-4799014/">Layers</a>
240
- and <a href="https://pixabay.com/illustrations/animal-painting-cat-feline-pet-7154059/">Lin Tong</a>
241
- from pixabay.com
242
- </p>
243
-
244
- <p>
245
- 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>
246
- </p>
247
-
248
- <p>
249
- Has this been helpful to you? Follow me on twitter
250
- <a href="https://twitter.com/pharmapsychotic">@pharmapsychotic</a>
251
- and check out more tools at my
252
- <a href="https://pharmapsychotic.com/tools.html">Ai generative art tools list</a>
253
- </p>
 
 
254
  """
255
 
256
  css = '''
 
235
  </div>
236
  """
237
  article = """
238
+ <div style="text-align: center; max-width: 650px; margin: 0 auto;">
239
+ <p>
240
+ Example art by <a href="https://pixabay.com/illustrations/watercolour-painting-art-effect-4799014/">Layers</a>
241
+ and <a href="https://pixabay.com/illustrations/animal-painting-cat-feline-pet-7154059/">Lin Tong</a>
242
+ from pixabay.com
243
+ </p>
244
+
245
+ <p>
246
+ 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>
247
+ </p>
248
+
249
+ <p>
250
+ Has this been helpful to you? Follow me on twitter
251
+ <a href="https://twitter.com/pharmapsychotic">@pharmapsychotic</a>
252
+ and check out more tools at my
253
+ <a href="https://pharmapsychotic.com/tools.html">Ai generative art tools list</a>
254
+ </p>
255
+ </div>
256
  """
257
 
258
  css = '''