Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -130,8 +130,26 @@ YOUTUBE_EXAMPLES = ["https://www.youtube.com/watch?v=vMboypSkj3c"]
|
|
| 130 |
theme = gr.Theme.from_hub("gradio/dracula_revamped")
|
| 131 |
theme.text_md = '9px'
|
| 132 |
theme.text_lg = '11px'
|
| 133 |
-
css = "
|
| 134 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 135 |
with gr.Blocks(theme=theme, css=css) as demo:
|
| 136 |
|
| 137 |
with gr.Row():
|
|
|
|
| 130 |
theme = gr.Theme.from_hub("gradio/dracula_revamped")
|
| 131 |
theme.text_md = '9px'
|
| 132 |
theme.text_lg = '11px'
|
| 133 |
+
css = """
|
| 134 |
+
.gradio-container {
|
| 135 |
+
background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
|
| 136 |
+
background-size: 400% 400%;
|
| 137 |
+
animation: gradient 15s ease infinite;
|
| 138 |
+
height: 100vh;
|
| 139 |
+
}
|
| 140 |
+
@keyframes gradient {
|
| 141 |
+
0% {
|
| 142 |
+
background-position: 0% 50%;
|
| 143 |
+
}
|
| 144 |
+
50% {
|
| 145 |
+
background-position: 100% 50%;
|
| 146 |
+
}
|
| 147 |
+
100% {
|
| 148 |
+
background-position: 0% 50%;
|
| 149 |
+
}
|
| 150 |
+
}
|
| 151 |
+
"""
|
| 152 |
+
|
| 153 |
with gr.Blocks(theme=theme, css=css) as demo:
|
| 154 |
|
| 155 |
with gr.Row():
|