Pijush2023 commited on
Commit
075192f
·
verified ·
1 Parent(s): 5c81d0e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -29
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
- gr.HTML('''
378
- <div id="welcome" class="animated-heading">
379
- <h1>Welcome to Omaha Events</h1>
380
  </div>
381
  <style>
382
- @import url('https://fonts.googleapis.com/css2?family=Pacifico&display=swap');
383
- .animated-heading h1 {
384
- font-family: 'Pacifico', cursive;
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())