Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -491,7 +491,20 @@ def generate_audio_elevenlabs(text):
|
|
| 491 |
return None
|
| 492 |
|
| 493 |
# Gradio Blocks interface
|
| 494 |
-
with gr.Blocks(
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 495 |
with gr.Row():
|
| 496 |
with gr.Column():
|
| 497 |
gr.HTML('''
|
|
|
|
| 491 |
return None
|
| 492 |
|
| 493 |
# Gradio Blocks interface
|
| 494 |
+
with gr.Blocks() as demo:
|
| 495 |
+
gr.HTML('''
|
| 496 |
+
<style>
|
| 497 |
+
body {
|
| 498 |
+
background: linear-gradient(45deg, #ffcc33, #ff6666, #ffcc33, #ff6666);
|
| 499 |
+
background-size: 400% 400%;
|
| 500 |
+
animation: backgroundAnimation 10s infinite alternate;
|
| 501 |
+
}
|
| 502 |
+
@keyframes backgroundAnimation {
|
| 503 |
+
0% { background-position: 0% 50%; }
|
| 504 |
+
100% { background-position: 100% 50%; }
|
| 505 |
+
}
|
| 506 |
+
</style>
|
| 507 |
+
''')
|
| 508 |
with gr.Row():
|
| 509 |
with gr.Column():
|
| 510 |
gr.HTML('''
|