in gradio_demos/chatbot_demo.py [0:0]
def respond(user_input, chat_history, model_choice):
if model_choice is None:
model_choice = list(llama_models.keys())[0]
updated_history = generate_chat(user_input, chat_history, model_choice)
return "", updated_history