Update app.py
Browse files
app.py
CHANGED
|
@@ -45,7 +45,7 @@ with gr.Blocks() as demo:
|
|
| 45 |
chat_name = f"chat history {current_chat_id}"
|
| 46 |
chat_histories[chat_name] = chat_history
|
| 47 |
chat_names = "\n".join(chat_histories.keys())
|
| 48 |
-
print(
|
| 49 |
new_choices = gr.Dropdown.update(choices = ["Hyundai","Suzuki","Mclaren"],label = "Test Dropdown")
|
| 50 |
return str(chat_names),[[None,"Hi there, what brings you here today?"]],"input.wav",new_choices
|
| 51 |
|
|
|
|
| 45 |
chat_name = f"chat history {current_chat_id}"
|
| 46 |
chat_histories[chat_name] = chat_history
|
| 47 |
chat_names = "\n".join(chat_histories.keys())
|
| 48 |
+
print(chat_names.split("\n"))
|
| 49 |
new_choices = gr.Dropdown.update(choices = ["Hyundai","Suzuki","Mclaren"],label = "Test Dropdown")
|
| 50 |
return str(chat_names),[[None,"Hi there, what brings you here today?"]],"input.wav",new_choices
|
| 51 |
|