Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -105,9 +105,6 @@ css = """
|
|
| 105 |
.jp-btn { background: #f8fafc !important; border: 1px solid #cbd5e1 !important; color: #475569 !important; font-weight: 700 !important; border-radius: 10px !important; margin-bottom: 10px; font-size: 12px !important; width: 100%; }
|
| 106 |
.gen-btn { background: #1299ff !important; color: white !important; font-weight: 700 !important; border-radius: 12px !important; height: 45px !important; width: 100%; border: none !important; cursor: pointer; }
|
| 107 |
.credit-footer { margin-top: 25px; padding: 15px; background: white; border-radius: 12px; text-align: center; border-bottom: 4px solid #1299ff; color: #94a3b8; font-weight: 700; font-size: 12px; letter-spacing: 2px; }
|
| 108 |
-
|
| 109 |
-
/* Animasi Loading Gradio */
|
| 110 |
-
#loading-overlay { background-color: rgba(18, 153, 255, 0.9) !important; }
|
| 111 |
"""
|
| 112 |
|
| 113 |
# --- 7. GRADIO INTERFACE ---
|
|
@@ -174,9 +171,9 @@ with gr.Blocks(title="Project Sekai TTS", css=css) as app:
|
|
| 174 |
gr.HTML("""<div class="credit-footer">🥒 CREATED BY MUTSUMI 🥒</div>""")
|
| 175 |
|
| 176 |
if __name__ == "__main__":
|
| 177 |
-
#
|
| 178 |
-
app.
|
| 179 |
server_name="0.0.0.0",
|
| 180 |
server_port=7860,
|
| 181 |
-
|
| 182 |
)
|
|
|
|
| 105 |
.jp-btn { background: #f8fafc !important; border: 1px solid #cbd5e1 !important; color: #475569 !important; font-weight: 700 !important; border-radius: 10px !important; margin-bottom: 10px; font-size: 12px !important; width: 100%; }
|
| 106 |
.gen-btn { background: #1299ff !important; color: white !important; font-weight: 700 !important; border-radius: 12px !important; height: 45px !important; width: 100%; border: none !important; cursor: pointer; }
|
| 107 |
.credit-footer { margin-top: 25px; padding: 15px; background: white; border-radius: 12px; text-align: center; border-bottom: 4px solid #1299ff; color: #94a3b8; font-weight: 700; font-size: 12px; letter-spacing: 2px; }
|
|
|
|
|
|
|
|
|
|
| 108 |
"""
|
| 109 |
|
| 110 |
# --- 7. GRADIO INTERFACE ---
|
|
|
|
| 171 |
gr.HTML("""<div class="credit-footer">🥒 CREATED BY MUTSUMI 🥒</div>""")
|
| 172 |
|
| 173 |
if __name__ == "__main__":
|
| 174 |
+
# PERUBAHAN UTAMA: Matikan ssr_mode agar loading screen muncul
|
| 175 |
+
app.launch(
|
| 176 |
server_name="0.0.0.0",
|
| 177 |
server_port=7860,
|
| 178 |
+
ssr_mode=False
|
| 179 |
)
|