Arafath10 commited on
Commit
d7cf4e9
·
1 Parent(s): a4118e0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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(chat_histories)
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