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