Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -325,8 +325,6 @@ def bot(history, choice):
|
|
| 325 |
audio_path = audio_future.result()
|
| 326 |
yield history, audio_path
|
| 327 |
|
| 328 |
-
map_html = generate_map(addresses)
|
| 329 |
-
yield history, map_html
|
| 330 |
|
| 331 |
def add_message(history, message):
|
| 332 |
history.append((message, None))
|
|
@@ -575,7 +573,7 @@ with gr.Blocks(theme='rawrsor1/Everforest') as demo:
|
|
| 575 |
with gr.Row():
|
| 576 |
with gr.Column():
|
| 577 |
gr.Markdown("<h1>Choose the prompt</h1>", elem_id="prompt-markdown")
|
| 578 |
-
choice = gr.Radio(label="Choose a prompt", choices=["Details", "Conversational"], value="
|
| 579 |
with gr.Column(): # Larger scale for the right column
|
| 580 |
gr.Markdown("<h1>Enter the query / Voice Output</h1>", elem_id="query-markdown")
|
| 581 |
|
|
|
|
| 325 |
audio_path = audio_future.result()
|
| 326 |
yield history, audio_path
|
| 327 |
|
|
|
|
|
|
|
| 328 |
|
| 329 |
def add_message(history, message):
|
| 330 |
history.append((message, None))
|
|
|
|
| 573 |
with gr.Row():
|
| 574 |
with gr.Column():
|
| 575 |
gr.Markdown("<h1>Choose the prompt</h1>", elem_id="prompt-markdown")
|
| 576 |
+
choice = gr.Radio(label="Choose a prompt", choices=["Details", "Conversational"], value="Conversational")
|
| 577 |
with gr.Column(): # Larger scale for the right column
|
| 578 |
gr.Markdown("<h1>Enter the query / Voice Output</h1>", elem_id="query-markdown")
|
| 579 |
|