Arafath10 commited on
Commit
e1910c5
·
1 Parent(s): de511dc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -47,7 +47,7 @@ with gr.Blocks() as demo:
47
  chat_histories[chat_name] = chat_history
48
  chat_names = "\n".join(chat_histories.keys())
49
  print(chat_names.split("\n"))
50
- new_choices = gr.Dropdown.update(choices = chat_names.split("\n"),label = "just Select to load chat")
51
  return str(chat_names),[[None,"Hi there, what brings you here today?"]],"input.wav",new_choices
52
 
53
  def load_chat(entered_chat_name):
 
47
  chat_histories[chat_name] = chat_history
48
  chat_names = "\n".join(chat_histories.keys())
49
  print(chat_names.split("\n"))
50
+ new_choices = gr.Dropdown(choices = chat_names.split("\n"),label = "just Select to load chat")
51
  return str(chat_names),[[None,"Hi there, what brings you here today?"]],"input.wav",new_choices
52
 
53
  def load_chat(entered_chat_name):