veo3.1-fast / app.py
akhaliq's picture
akhaliq HF Staff
Update app.py
62d4fd1 verified
raw
history blame
877 Bytes
import gradio as gr
# Custom CSS to hide everything except maintenance message
custom_css = """
.gradio-container > * {
display: none !important;
}
.maintenance-message {
display: block !important;
text-align: center;
padding: 50px 20px;
font-size: 1.5em;
}
"""
# Create the Gradio interface
with gr.Blocks(css=custom_css, theme=gr.themes.Soft(), title="Veo 3.1") as demo:
gr.Markdown(
"""
# 🚧 Under Maintenance
This application is currently under maintenance. Please check back later.
We apologize for any inconvenience.
""",
elem_classes=["maintenance-message"]
)
# Launch the app
if __name__ == "__main__":
demo.launch(
show_api=False,
share=False,
show_error=True,
enable_monitoring=False,
quiet=True,
ssr_mode=True
)