Spaces:
Sleeping
Sleeping
Update app.py
Browse files7 unmodified lines89101112135 unmodified lines19202122237 unmodified linesif history:messages.extend(history)messages.append({"role": "user", "content": message})response = ""for message in client.chat_completion(messages,5 unmodified linesyield responsechatbot = gr.ChatInterface(respond, type="messages")chatbot.launch()7 unmodified lines8910111213145 unmodified lines202122237 unmodified linesif history:messages.extend(history)messages.append({"role": "user", "content": message})response = ""for message in client.chat_completion(messages,5 unmodified linesyield responsechatbot = gr.ChatInterface(respond, type="messages")chatbot.launch()
app.py+1-1