Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -91,7 +91,20 @@ def to_phoneme_fn(text):
|
|
| 91 |
|
| 92 |
# --- 6. UI STYLE ---
|
| 93 |
css = """
|
| 94 |
-
:root {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 95 |
.ba-header-container { border: 1.5px solid #e1e8f0; border-radius: 12px; padding: 20px 10px; margin-bottom: 12px; background: white; text-align: center; }
|
| 96 |
.ba-header-container h1 { color: #1299ff !important; font-weight: 700 !important; font-size: 36px !important; margin: 0; }
|
| 97 |
.status-container { border: 1.5px solid #e1e8f0; border-radius: 12px; padding: 15px 22px; margin-bottom: 20px; background: white; }
|
|
@@ -171,7 +184,6 @@ with gr.Blocks(title="Project Sekai TTS", css=css) as app:
|
|
| 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,
|
|
|
|
| 91 |
|
| 92 |
# --- 6. UI STYLE ---
|
| 93 |
css = """
|
| 94 |
+
:root {
|
| 95 |
+
--primary-600: #1299ff !important;
|
| 96 |
+
--accent-600: #1299ff !important;
|
| 97 |
+
--loader-color: #add8e6 !important; /* Warna Biru Muda untuk Loading */
|
| 98 |
+
}
|
| 99 |
+
|
| 100 |
+
/* Modifikasi Loading Screen Gradio */
|
| 101 |
+
.gradio-container .load-overlay {
|
| 102 |
+
background: rgba(255, 255, 255, 0.8) !important;
|
| 103 |
+
}
|
| 104 |
+
.gradio-container .loader {
|
| 105 |
+
border-top-color: #add8e6 !important;
|
| 106 |
+
}
|
| 107 |
+
|
| 108 |
.ba-header-container { border: 1.5px solid #e1e8f0; border-radius: 12px; padding: 20px 10px; margin-bottom: 12px; background: white; text-align: center; }
|
| 109 |
.ba-header-container h1 { color: #1299ff !important; font-weight: 700 !important; font-size: 36px !important; margin: 0; }
|
| 110 |
.status-container { border: 1.5px solid #e1e8f0; border-radius: 12px; padding: 15px 22px; margin-bottom: 20px; background: white; }
|
|
|
|
| 184 |
gr.HTML("""<div class="credit-footer">🥒 CREATED BY MUTSUMI 🥒</div>""")
|
| 185 |
|
| 186 |
if __name__ == "__main__":
|
|
|
|
| 187 |
app.launch(
|
| 188 |
server_name="0.0.0.0",
|
| 189 |
server_port=7860,
|