Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -374,40 +374,18 @@ def generate_audio_elevenlabs(text):
|
|
374 |
with gr.Blocks(theme='rawrsor1/Everforest') as demo:
|
375 |
with gr.Row():
|
376 |
with gr.Column():
|
377 |
-
|
378 |
-
<div
|
379 |
-
<h1>Welcome to Omaha Events</h1>
|
380 |
</div>
|
381 |
<style>
|
382 |
-
@
|
383 |
-
|
384 |
-
|
385 |
-
color: #4CAF50;
|
386 |
-
text-align: center;
|
387 |
-
font-size: 4em;
|
388 |
-
margin: 0;
|
389 |
-
animation: textAnimation 3s ease-in-out infinite alternate;
|
390 |
-
}
|
391 |
-
@keyframes textAnimation {
|
392 |
-
0% {
|
393 |
-
transform: scale(1);
|
394 |
-
color: #4CAF50;
|
395 |
-
text-shadow: 0 0 10px #4CAF50;
|
396 |
-
}
|
397 |
-
50% {
|
398 |
-
transform: scale(1.1);
|
399 |
-
color: #FF6347;
|
400 |
-
text-shadow: 0 0 20px #FF6347;
|
401 |
-
}
|
402 |
-
100% {
|
403 |
-
transform: scale(1);
|
404 |
-
color: #4CAF50;
|
405 |
-
text-shadow: 0 0 10px #4CAF50;
|
406 |
-
}
|
407 |
}
|
408 |
</style>
|
409 |
''')
|
410 |
-
chatbot = gr.Chatbot([], elem_id="chatbot", bubble_full_width=False)
|
411 |
|
412 |
# with gr.Column():
|
413 |
# weather_output = gr.HTML(value=fetch_local_weather())
|
|
|
374 |
with gr.Blocks(theme='rawrsor1/Everforest') as demo:
|
375 |
with gr.Row():
|
376 |
with gr.Column():
|
377 |
+
gr.HTML('''
|
378 |
+
<div style="animation: fadeIn 2s ease-in-out infinite alternate;">
|
379 |
+
<h1 style="font-size: 4em; text-align: center; color: #4CAF50;">Welcome to Omaha Events</h1>
|
380 |
</div>
|
381 |
<style>
|
382 |
+
@keyframes fadeIn {
|
383 |
+
from { opacity: 0; }
|
384 |
+
to { opacity: 1; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
385 |
}
|
386 |
</style>
|
387 |
''')
|
388 |
+
chatbot = gr.Chatbot([], elem_id="chatbot", bubble_full_width=False)
|
389 |
|
390 |
# with gr.Column():
|
391 |
# weather_output = gr.HTML(value=fetch_local_weather())
|