Update app.py
Browse files
app.py
CHANGED
|
@@ -243,7 +243,48 @@ def generate_final_video(script_file, num_images):
|
|
| 243 |
|
| 244 |
|
| 245 |
### 🚀 GRADIO UI ###
|
| 246 |
-
with gr.Blocks(
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 247 |
|
| 248 |
gr.Markdown("## # 🎬 AI-Powered Educational Video Generator")
|
| 249 |
|
|
|
|
| 243 |
|
| 244 |
|
| 245 |
### 🚀 GRADIO UI ###
|
| 246 |
+
with gr.Blocks(css = """
|
| 247 |
+
body {
|
| 248 |
+
background-color: #0d0d0d;
|
| 249 |
+
color: #00f2ff;
|
| 250 |
+
font-family: 'Orbitron', sans-serif;
|
| 251 |
+
}
|
| 252 |
+
.gr-button {
|
| 253 |
+
background: linear-gradient(90deg, #00f2ff, #00bcd4);
|
| 254 |
+
color: white;
|
| 255 |
+
font-weight: bold;
|
| 256 |
+
border: none;
|
| 257 |
+
border-radius: 8px;
|
| 258 |
+
box-shadow: 0 0 10px #00f2ff;
|
| 259 |
+
transition: all 0.3s ease-in-out;
|
| 260 |
+
}
|
| 261 |
+
.gr-button:hover {
|
| 262 |
+
box-shadow: 0 0 20px #00f2ff;
|
| 263 |
+
transform: scale(1.05);
|
| 264 |
+
}
|
| 265 |
+
.gr-textbox, .gr-slider, .gr-file {
|
| 266 |
+
background: rgba(255, 255, 255, 0.1);
|
| 267 |
+
border: 1px solid #00f2ff;
|
| 268 |
+
border-radius: 8px;
|
| 269 |
+
color: #00f2ff;
|
| 270 |
+
box-shadow: 0 0 8px #00f2ff;
|
| 271 |
+
}
|
| 272 |
+
.gr-textbox:focus, .gr-slider:hover, .gr-file:hover {
|
| 273 |
+
box-shadow: 0 0 15px #00f2ff;
|
| 274 |
+
border-color: #00e5ff;
|
| 275 |
+
}
|
| 276 |
+
.gr-markdown h1, .gr-markdown h2 {
|
| 277 |
+
color: #00f2ff;
|
| 278 |
+
text-shadow: 0 0 10px #00f2ff;
|
| 279 |
+
}
|
| 280 |
+
.gr-tab {
|
| 281 |
+
background: rgba(255, 255, 255, 0.05);
|
| 282 |
+
border-bottom: 2px solid #00f2ff;
|
| 283 |
+
}
|
| 284 |
+
.gr-tab:hover {
|
| 285 |
+
box-shadow: 0 0 10px #00f2ff;
|
| 286 |
+
}
|
| 287 |
+
""") as app:
|
| 288 |
|
| 289 |
gr.Markdown("## # 🎬 AI-Powered Educational Video Generator")
|
| 290 |
|