Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,37 +1,17 @@
|
|
| 1 |
import gradio as gr
|
| 2 |
|
| 3 |
-
# Custom CSS to hide everything except maintenance message
|
| 4 |
-
custom_css = """
|
| 5 |
-
.gradio-container > * {
|
| 6 |
-
display: none !important;
|
| 7 |
-
}
|
| 8 |
-
.maintenance-message {
|
| 9 |
-
display: block !important;
|
| 10 |
-
text-align: center;
|
| 11 |
-
padding: 50px 20px;
|
| 12 |
-
font-size: 1.5em;
|
| 13 |
-
}
|
| 14 |
-
"""
|
| 15 |
-
|
| 16 |
# Create the Gradio interface
|
| 17 |
-
with gr.Blocks(
|
| 18 |
gr.Markdown(
|
| 19 |
"""
|
| 20 |
# 🚧 Under Maintenance
|
| 21 |
|
| 22 |
-
|
| 23 |
|
| 24 |
We apologize for any inconvenience.
|
| 25 |
-
"""
|
| 26 |
-
|
| 27 |
|
| 28 |
# Launch the app
|
| 29 |
if __name__ == "__main__":
|
| 30 |
-
demo.launch(
|
| 31 |
-
show_api=False,
|
| 32 |
-
share=False,
|
| 33 |
-
show_error=True,
|
| 34 |
-
enable_monitoring=False,
|
| 35 |
-
quiet=True,
|
| 36 |
-
ssr_mode=True
|
| 37 |
-
)
|
|
|
|
| 1 |
import gradio as gr
|
| 2 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
# Create the Gradio interface
|
| 4 |
+
with gr.Blocks(theme=gr.themes.Soft(), title="AI Video Generator") as demo:
|
| 5 |
gr.Markdown(
|
| 6 |
"""
|
| 7 |
# 🚧 Under Maintenance
|
| 8 |
|
| 9 |
+
Veo 3.1 app is currently under maintenance. Please check back later.
|
| 10 |
|
| 11 |
We apologize for any inconvenience.
|
| 12 |
+
""",
|
| 13 |
+
)
|
| 14 |
|
| 15 |
# Launch the app
|
| 16 |
if __name__ == "__main__":
|
| 17 |
+
demo.launch()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|