openfree commited on
Commit
f16c949
·
verified ·
1 Parent(s): 4bb3c41

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +53 -0
app.py CHANGED
@@ -3090,6 +3090,59 @@ def create_interface():
3090
  </div>
3091
  """)
3092
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3093
  # State management
3094
  current_session_id = gr.State(None)
3095
 
 
3090
  </div>
3091
  """)
3092
 
3093
+ gr.HTML("""
3094
+ <style>
3095
+ .badges-container {
3096
+ display: flex;
3097
+ justify-content: center;
3098
+ align-items: center;
3099
+ gap: 8px;
3100
+ flex-wrap: wrap;
3101
+ margin-top: 12px;
3102
+ }
3103
+
3104
+ .badges-container a img {
3105
+ height: 28px;
3106
+ transition: transform 0.2s ease;
3107
+ }
3108
+
3109
+ .badges-container a:hover img {
3110
+ transform: scale(1.05);
3111
+ }
3112
+
3113
+ @media (max-width: 768px) {
3114
+ .badges-container {
3115
+ gap: 6px;
3116
+ }
3117
+
3118
+ .badges-container a img {
3119
+ height: 24px;
3120
+ }
3121
+ }
3122
+ </style>
3123
+
3124
+ <div class="main-header">
3125
+ <h1 class="header-title">📖 AGI NOVEL Generator</h1>
3126
+
3127
+ <div class="badges-container">
3128
+ <a href="https://huggingface.co/spaces/fantaxy/AGI-LEADERBOARD" target="_blank">
3129
+ <img src="https://img.shields.io/static/v1?label=HF&message=AGI-LEADERBOARD&color=%23d4a574&labelColor=%238b6239&logo=HUGGINGFACE&logoColor=%23faf8f5&style=for-the-badge" alt="badge">
3130
+ </a>
3131
+ <a href="https://huggingface.co/spaces/openfree/AGI-Screenplay" target="_blank">
3132
+ <img src="https://img.shields.io/static/v1?label=HF&message=AGI-Screenplay&color=%23b8956f&labelColor=%23745940&logo=HUGGINGFACE&logoColor=%23faf8f5&style=for-the-badge" alt="badge">
3133
+ </a>
3134
+ <a href="https://huggingface.co/spaces/openfree/AGI-WebNovel" target="_blank">
3135
+ <img src="https://img.shields.io/static/v1?label=HF&message=AGI-WebNovel&color=%23c7a679&labelColor=%236b5036&logo=HUGGINGFACE&logoColor=%23faf8f5&style=for-the-badge" alt="badge">
3136
+ </a>
3137
+ <a href="https://discord.gg/openfreeai" target="_blank">
3138
+ <img src="https://img.shields.io/static/v1?label=Discord&message=Openfree%20AI&color=%23c19656&labelColor=%236d4e31&logo=discord&logoColor=white&style=for-the-badge" alt="badge">
3139
+ </a>
3140
+ <a href="https://huggingface.co/spaces/openfree/Best-AI" target="_blank">
3141
+ <img src="https://img.shields.io/static/v1?label=OpenFree&message=BEST%20AI&color=%23d4a574&labelColor=%235a3e28&logo=huggingface&logoColor=%23faf8f5&style=for-the-badge" alt="badge">
3142
+ </a>
3143
+ </div>
3144
+ </div>
3145
+ """)
3146
  # State management
3147
  current_session_id = gr.State(None)
3148