Pijush2023 commited on
Commit
1da963a
·
verified ·
1 Parent(s): 4387c4b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -635,10 +635,10 @@ with gr.Blocks(theme='rawrsor1/Everforest') as demo:
635
  gr.Markdown("<h1>Locate the Events</h1>", elem_id="location-markdown")
636
  location_output = gr.HTML()
637
  bot_msg.then(show_map_if_details, [chatbot, choice], [location_output, location_output])
638
- with gr.Column():
639
- gr.Markdown("<h1>Listen to the audio</h1>", elem_id="audio-markdown")
640
- audio_output = gr.Audio()
641
- bot_msg_audio = bot_msg.then(lambda history: generate_audio_elevenlabs(history[-1][1]), chatbot, audio_output)
642
  with gr.Row():
643
 
644
  with gr.Column():
 
635
  gr.Markdown("<h1>Locate the Events</h1>", elem_id="location-markdown")
636
  location_output = gr.HTML()
637
  bot_msg.then(show_map_if_details, [chatbot, choice], [location_output, location_output])
638
+ # with gr.Column():
639
+ # gr.Markdown("<h1>Listen to the audio</h1>", elem_id="audio-markdown")
640
+ # audio_output = gr.Audio()
641
+ # bot_msg_audio = bot_msg.then(lambda history: generate_audio_elevenlabs(history[-1][1]), chatbot, audio_output)
642
  with gr.Row():
643
 
644
  with gr.Column():