selfit-camera commited on
Commit
4422126
·
1 Parent(s): dc4da1d
Files changed (1) hide show
  1. app.py +23 -7
app.py CHANGED
@@ -970,21 +970,33 @@ def create_app():
970
  margin: 0 auto;
971
  padding: 8px 40px;
972
  border-radius: 20px;
973
- max-width: 600px;
974
  box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
975
  text-align: center;
976
  width: fit-content;
977
  ">
978
  <span style="color: white; font-weight: 600; font-size: 1.0em;">
979
- {t('news_banner_prefix', 'en')}
 
 
 
 
 
 
 
 
 
 
 
980
  <a href="https://huggingface.co/spaces/Selfit/Text-to-Image-Pro" target="_blank" style="
981
  color: white;
982
  text-decoration: none;
983
  border-bottom: 1px solid rgba(255,255,255,0.5);
984
  transition: all 0.3s ease;
 
985
  " onmouseover="this.style.borderBottom='1px solid white'"
986
  onmouseout="this.style.borderBottom='1px solid rgba(255,255,255,0.5)'">
987
- {t('news_banner_link', 'en')}
988
  </a>
989
  </span>
990
  </div>
@@ -1321,11 +1333,15 @@ def create_app():
1321
  @keyframes breathe {{ 0%, 100% {{ transform: scale(1); }} 50% {{ transform: scale(1.02); }} }}
1322
  .breathing-banner {{ animation: breathe 3s ease-in-out infinite; }}
1323
  </style>
1324
- <div class="breathing-banner" style="background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); margin: 5px auto 5px auto; padding: 6px 40px; border-radius: 20px; max-width: 700px; box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3); text-align: center;">
1325
  <span style="color: white; font-weight: 600; font-size: 1.0em;">
1326
- {t('news_banner_prefix', lang)}
1327
- <a href="https://huggingface.co/spaces/Selfit/Text-to-Image-Pro" target="_blank" style="color: white; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,0.5); transition: all 0.3s ease;" onmouseover="this.style.borderBottom='1px solid white'" onmouseout="this.style.borderBottom='1px solid rgba(255,255,255,0.5)'">
1328
- {t('news_banner_link', lang)}
 
 
 
 
1329
  </a>
1330
  </span>
1331
  </div>"""),
 
970
  margin: 0 auto;
971
  padding: 8px 40px;
972
  border-radius: 20px;
973
+ max-width: 800px;
974
  box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
975
  text-align: center;
976
  width: fit-content;
977
  ">
978
  <span style="color: white; font-weight: 600; font-size: 1.0em;">
979
+ 🎉 NEW:
980
+ <a href="https://huggingface.co/spaces/Selfit/Multi-Image-Edit" target="_blank" style="
981
+ color: white;
982
+ text-decoration: none;
983
+ border-bottom: 1px solid rgba(255,255,255,0.5);
984
+ transition: all 0.3s ease;
985
+ margin: 0 8px;
986
+ " onmouseover="this.style.borderBottom='1px solid white'"
987
+ onmouseout="this.style.borderBottom='1px solid rgba(255,255,255,0.5)'">
988
+ Multi-Image-Edit
989
+ </a>
990
+ |
991
  <a href="https://huggingface.co/spaces/Selfit/Text-to-Image-Pro" target="_blank" style="
992
  color: white;
993
  text-decoration: none;
994
  border-bottom: 1px solid rgba(255,255,255,0.5);
995
  transition: all 0.3s ease;
996
+ margin: 0 8px;
997
  " onmouseover="this.style.borderBottom='1px solid white'"
998
  onmouseout="this.style.borderBottom='1px solid rgba(255,255,255,0.5)'">
999
+ Text-to-Image
1000
  </a>
1001
  </span>
1002
  </div>
 
1333
  @keyframes breathe {{ 0%, 100% {{ transform: scale(1); }} 50% {{ transform: scale(1.02); }} }}
1334
  .breathing-banner {{ animation: breathe 3s ease-in-out infinite; }}
1335
  </style>
1336
+ <div class="breathing-banner" style="background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); margin: 5px auto 5px auto; padding: 6px 40px; border-radius: 20px; max-width: 800px; box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3); text-align: center;">
1337
  <span style="color: white; font-weight: 600; font-size: 1.0em;">
1338
+ 🎉 NEW:
1339
+ <a href="https://huggingface.co/spaces/Selfit/Multi-Image-Edit" target="_blank" style="color: white; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,0.5); transition: all 0.3s ease; margin: 0 8px;" onmouseover="this.style.borderBottom='1px solid white'" onmouseout="this.style.borderBottom='1px solid rgba(255,255,255,0.5)'">
1340
+ Multi-Image-Edit
1341
+ </a>
1342
+ |
1343
+ <a href="https://huggingface.co/spaces/Selfit/Text-to-Image-Pro" target="_blank" style="color: white; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,0.5); transition: all 0.3s ease; margin: 0 8px;" onmouseover="this.style.borderBottom='1px solid white'" onmouseout="this.style.borderBottom='1px solid rgba(255,255,255,0.5)'">
1344
+ Text-to-Image
1345
  </a>
1346
  </span>
1347
  </div>"""),