Spaces:
Runtime error
Runtime error
Download app.py from aividstudios/ava: direct link, hf CLI and curl.
- Browser
- Download file 4.03 kB
-
https://huggingface.co/spaces/aividstudios/ava/resolve/main/app.py
- Command line
-
hf download hf://spaces/aividstudios/ava/app.py
-
curl -L -o app.py https://huggingface.co/spaces/aividstudios/ava/resolve/main/app.py
4.03 kB
| """AVA — placeholder landing page for the Hugging Face Space. | |
| Shows the hold-harmless block, what AVA does, and a request-access CTA. | |
| """ | |
| import streamlit as st | |
| st.set_page_config( | |
| page_title="AVA — AI Video Assistant", | |
| page_icon="🎬", | |
| layout="centered", | |
| ) | |
| ACCENT = "#1ce0ff" | |
| BG = "#04060a" | |
| INK = "#e6eef7" | |
| INK_DIM = "#8a9bb1" | |
| st.markdown(f""" | |
| <style> | |
| .stApp {{ background: {BG}; color: {INK}; }} | |
| h1, h2, h3 {{ color: {INK}; }} | |
| .accent {{ color: {ACCENT}; }} | |
| .pill {{ | |
| display:inline-block; padding:4px 12px; border:1px solid {ACCENT}; | |
| border-radius:999px; color:{ACCENT}; font-size:11px; | |
| font-weight:700; letter-spacing:0.18em; text-transform:uppercase; | |
| }} | |
| .tab-card {{ | |
| background:#0c1220; border:1px solid #1a2740; border-radius:14px; | |
| padding:18px; margin-bottom:12px; | |
| }} | |
| .harm-box {{ | |
| background: rgba(28,224,255,0.04); border:1px solid {ACCENT}; | |
| border-radius:10px; padding:18px; font-size:14px; color:{INK_DIM}; | |
| }} | |
| .cta {{ | |
| display:block; width:100%; padding:16px; text-align:center; | |
| background:{ACCENT}; color:{BG}; border-radius:10px; | |
| font-weight:700; letter-spacing:0.16em; text-transform:uppercase; | |
| text-decoration:none; margin-top:12px; | |
| }} | |
| </style> | |
| """, unsafe_allow_html=True) | |
| st.markdown(f"<span class='pill'>Private Preview · Runway 2026 API Hackathon</span>", unsafe_allow_html=True) | |
| st.markdown(f"<h1 style='font-size:64px;letter-spacing:-0.02em;margin-bottom:4px'>AVA</h1>", unsafe_allow_html=True) | |
| st.markdown(f"<p style='font-size:24px;color:{INK_DIM};margin-top:0'>How a story becomes a film.</p>", unsafe_allow_html=True) | |
| st.markdown( | |
| "AVA turns a screenplay into a finished cut. Five tabs, left to right. " | |
| "Drop in your script. Lock your cast. Generate stills. Animate. Export " | |
| "an FCPXML you open straight in DaVinci Resolve or Premiere Pro." | |
| ) | |
| st.markdown("### What AVA does") | |
| tabs_data = [ | |
| ("1", "SCREENPLAY", "Parse a .docx / .fountain / .pdf into one shot per row."), | |
| ("2", "CAST", "Lock every character to a real face. Identity-locked across every shot."), | |
| ("3", "IMAGE", "One click. Every approved shot becomes a still via Nano Banana 2."), | |
| ("4", "VIDEO", "Animate every kept still. Veo 3.1 Fast for faces, Seedance 2.0 for cinematic wides."), | |
| ("5", "TIMELINE", "Build an FCPXML you open straight in DaVinci Resolve or Premiere Pro."), | |
| ] | |
| for num, name, desc in tabs_data: | |
| st.markdown( | |
| f"<div class='tab-card'><strong class='accent'>{num} · {name}</strong><br>" | |
| f"<span style='color:{INK_DIM}'>{desc}</span></div>", | |
| unsafe_allow_html=True, | |
| ) | |
| st.markdown("### Watch the demo") | |
| st.video("https://www.youtube.com/watch?v=zbQNqufXK7g") | |
| st.markdown("### Hold-harmless / Terms (read before requesting access)") | |
| st.markdown(f""" | |
| <div class='harm-box'> | |
| AVA is provided <strong>AS IS</strong>, with no warranty. AIVID Studios LLC, | |
| David Vognild, and any contributor make no representation that AVA's outputs | |
| are accurate, non-infringing, or fit for any particular purpose. You use AVA | |
| at your own risk.<br><br> | |
| <strong>You hold AIVID Studios harmless</strong> for any claim, loss, liability, | |
| or expense arising from your use of AVA, your inputs, the AI-generated outputs, | |
| or any third-party right those outputs may infringe.<br><br> | |
| <strong>You pay your own API providers.</strong> AVA uses your own Anthropic, | |
| Runway, and ElevenLabs API keys. AIVID Studios cannot reimburse charges those | |
| providers bill to your account.<br><br> | |
| <strong>Maximum aggregate liability</strong> of AIVID Studios LLC and contributors | |
| for any claim arising from your use of AVA is limited to <strong>USD $0</strong>, | |
| reflecting that AVA is provided without charge. | |
| </div> | |
| """, unsafe_allow_html=True) | |
| st.markdown( | |
| f"<a href='https://aividstudios.com/AVA' class='cta'>REQUEST PRIVATE PREVIEW</a>", | |
| unsafe_allow_html=True, | |
| ) | |
| st.markdown("---") | |
| st.caption( | |
| "AVA · AIVID Studios · Built for the Runway 2026 API Hackathon (May 8-11, 2026). " | |
| "By using this Space you agree to the Terms above." | |
| ) | |