Spaces:
Sleeping
Sleeping
Update app.py
Browse files35 unmodified lines363738394041424344454635 unmodified linesasync def respond(message, history):if history is None:history = []_, response_text = await main_interface(message)history.append((message, response_text))return "", history35 unmodified lines36373839404142434445464735 unmodified linesasync def respond(message, history):if history is None: history = []_, response_text = await main_interface(message)history.append({"role": "user", "content": message})history.append({"role": "assistant", "content": response_text})return "", history
app.py+4-3