Upload app.py
Browse files
app.py
CHANGED
|
@@ -94,30 +94,7 @@ CSS = """
|
|
| 94 |
}
|
| 95 |
"""
|
| 96 |
|
| 97 |
-
# Example configurations
|
| 98 |
-
EXAMPLES = [
|
| 99 |
-
{
|
| 100 |
-
"brand": "EceMotion Pictures",
|
| 101 |
-
"structure": "Montage → Close-up → Logo stinger",
|
| 102 |
-
"script": "Remember when technology was simple?",
|
| 103 |
-
"voice": "Announcer '80s",
|
| 104 |
-
"duration": 10
|
| 105 |
-
},
|
| 106 |
-
{
|
| 107 |
-
"brand": "VaporWave Studios",
|
| 108 |
-
"structure": "Before/After → Feature highlight → CTA",
|
| 109 |
-
"script": "The future is now, but it looks like the past",
|
| 110 |
-
"voice": "Mall PA",
|
| 111 |
-
"duration": 8
|
| 112 |
-
},
|
| 113 |
-
{
|
| 114 |
-
"brand": "Neon Dreams",
|
| 115 |
-
"structure": "Unboxing → Demo → Deal countdown",
|
| 116 |
-
"script": "Step into the digital sunset",
|
| 117 |
-
"voice": "Late Night",
|
| 118 |
-
"duration": 12
|
| 119 |
-
}
|
| 120 |
-
]
|
| 121 |
|
| 122 |
def create_interface():
|
| 123 |
"""Create the modern Gradio interface."""
|
|
@@ -272,11 +249,13 @@ def create_interface():
|
|
| 272 |
with gr.Row():
|
| 273 |
with gr.Column():
|
| 274 |
gr.Markdown("### 💡 Example Configurations")
|
| 275 |
-
|
| 276 |
-
|
| 277 |
-
|
| 278 |
-
|
| 279 |
-
|
|
|
|
|
|
|
| 280 |
|
| 281 |
# Footer
|
| 282 |
gr.Markdown("""
|
|
@@ -513,3 +492,4 @@ def main():
|
|
| 513 |
|
| 514 |
if __name__ == "__main__":
|
| 515 |
main()
|
|
|
|
|
|
| 94 |
}
|
| 95 |
"""
|
| 96 |
|
| 97 |
+
# Example configurations are now displayed as markdown text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 98 |
|
| 99 |
def create_interface():
|
| 100 |
"""Create the modern Gradio interface."""
|
|
|
|
| 249 |
with gr.Row():
|
| 250 |
with gr.Column():
|
| 251 |
gr.Markdown("### 💡 Example Configurations")
|
| 252 |
+
gr.Markdown("""
|
| 253 |
+
**Example 1:** EceMotion Pictures - "Remember when technology was simple?" (Announcer '80s, 10s)
|
| 254 |
+
|
| 255 |
+
**Example 2:** VaporWave Studios - "The future is now, but it looks like the past" (Mall PA, 8s)
|
| 256 |
+
|
| 257 |
+
**Example 3:** Neon Dreams - "Step into the digital sunset" (Late Night, 12s)
|
| 258 |
+
""")
|
| 259 |
|
| 260 |
# Footer
|
| 261 |
gr.Markdown("""
|
|
|
|
| 492 |
|
| 493 |
if __name__ == "__main__":
|
| 494 |
main()
|
| 495 |
+
|