Added video demo link
Browse files
app.py
CHANGED
|
@@ -440,7 +440,7 @@ def create_interface():
|
|
| 440 |
}
|
| 441 |
"""
|
| 442 |
|
| 443 |
-
with gr.Blocks(title="🎨 Art Historian
|
| 444 |
|
| 445 |
# Header
|
| 446 |
gr.HTML("""
|
|
@@ -448,6 +448,11 @@ def create_interface():
|
|
| 448 |
<h1>🎨 AI Art Historian</h1>
|
| 449 |
<h3>Powered by SmolAgent Framework + Vision AI</h3>
|
| 450 |
<p>Upload any artwork and discover its secrets through expert AI analysis</p>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 451 |
</div>
|
| 452 |
""")
|
| 453 |
|
|
@@ -561,7 +566,7 @@ def create_interface():
|
|
| 561 |
gr.Markdown(f"""
|
| 562 |
---
|
| 563 |
<div style="text-align: center; color: #666; margin-top: 2rem;">
|
| 564 |
-
<strong>🎨 AI Art Historian</strong> | Built with ❤️
|
| 565 |
<em>Device: {device.upper()} • Agent: {"Ready" if agent_ready else "Backup mode"} • Discover art through AI</em>
|
| 566 |
</div>
|
| 567 |
""")
|
|
|
|
| 440 |
}
|
| 441 |
"""
|
| 442 |
|
| 443 |
+
with gr.Blocks(title="🎨 AI Art Historian", theme=theme, css=css) as demo:
|
| 444 |
|
| 445 |
# Header
|
| 446 |
gr.HTML("""
|
|
|
|
| 448 |
<h1>🎨 AI Art Historian</h1>
|
| 449 |
<h3>Powered by SmolAgent Framework + Vision AI</h3>
|
| 450 |
<p>Upload any artwork and discover its secrets through expert AI analysis</p>
|
| 451 |
+
<p style="margin-top: 1rem;">
|
| 452 |
+
<a href="https://youtu.be/xyNKr05Vvls?si=OmHjtOfBez2FjOTv" target="_blank" style="color: white; text-decoration: none; font-size: 1.1em;">
|
| 453 |
+
▶️ Watch Demo Video
|
| 454 |
+
</a>
|
| 455 |
+
</p>
|
| 456 |
</div>
|
| 457 |
""")
|
| 458 |
|
|
|
|
| 566 |
gr.Markdown(f"""
|
| 567 |
---
|
| 568 |
<div style="text-align: center; color: #666; margin-top: 2rem;">
|
| 569 |
+
<strong>🎨 AI Art Historian</strong> | Built with ❤️ Gradio<br>
|
| 570 |
<em>Device: {device.upper()} • Agent: {"Ready" if agent_ready else "Backup mode"} • Discover art through AI</em>
|
| 571 |
</div>
|
| 572 |
""")
|