Spaces:
Sleeping
Sleeping
Update app.py
Browse files37 unmodified lines3839404142434445464748495037 unmodified linesconfidence = round(best["score"], 2)reply = (f"**Detected intent:** {intent}\n"f"**Confidence:** {confidence}\n\n"f"{RESPONSES[intent]}")history.append({"role": "assistant", "content": reply})return history"""37 unmodified lines38394041424344454647484937 unmodified linesconfidence = round(best["score"], 2)reply = (f"Detected intent: {intent}\n"f"Confidence: {confidence}\n\n"f"{RESPONSES[intent]}")return reply"""
app.py+3-4