Update app.py
Browse files
app.py
CHANGED
|
@@ -392,6 +392,40 @@ with gr.Blocks(title="AI Marketing Content Generator") as demo:
|
|
| 392 |
---
|
| 393 |
""")
|
| 394 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 395 |
with gr.Row():
|
| 396 |
with gr.Column():
|
| 397 |
gr.Markdown("""
|
|
|
|
| 392 |
---
|
| 393 |
""")
|
| 394 |
|
| 395 |
+
with gr.Accordion("🎥 Video Demo - See It In Action!", open=True):
|
| 396 |
+
gr.Markdown("""
|
| 397 |
+
### 📹 Watch How Easy It Is!
|
| 398 |
+
See the AI Marketing Content Generator in action - from prompt to professional image in seconds.
|
| 399 |
+
""")
|
| 400 |
+
|
| 401 |
+
try:
|
| 402 |
+
|
| 403 |
+
video_path = "created_image/Live video demo.mp4"
|
| 404 |
+
if os.path.exists(video_path):
|
| 405 |
+
gr.Video(
|
| 406 |
+
value=video_path,
|
| 407 |
+
label="Demo Video",
|
| 408 |
+
height=400,
|
| 409 |
+
show_label=False,
|
| 410 |
+
interactive=False,
|
| 411 |
+
autoplay=False
|
| 412 |
+
)
|
| 413 |
+
else:
|
| 414 |
+
gr.Markdown("📹 **Demo video will be available soon!**")
|
| 415 |
+
|
| 416 |
+
except Exception as e:
|
| 417 |
+
gr.Markdown("📹 **Demo video will be available soon!**")
|
| 418 |
+
|
| 419 |
+
gr.Markdown("""
|
| 420 |
+
**🎯 What you'll see in the demo:**
|
| 421 |
+
- How to create single marketing images
|
| 422 |
+
- A/B testing for better engagement
|
| 423 |
+
- Multi-platform social media content
|
| 424 |
+
- AI-powered prompt generation
|
| 425 |
+
|
| 426 |
+
**⏱️ Total demo time:** ~3 minutes
|
| 427 |
+
""")
|
| 428 |
+
|
| 429 |
with gr.Row():
|
| 430 |
with gr.Column():
|
| 431 |
gr.Markdown("""
|