Spaces:
Sleeping
Sleeping
Update app.py
Browse files22 unmodified lines232425262728293031323334353622 unmodified linesExplain why this is the best recipient in 2-3 lines."""try:response = client.chat.completions.create(model="llama-2-7b-chat",messages=[{"role": "user", "content": prompt}])explanation = response.choices[0].message.contentexcept:explanation = "❌ AI explanation not available."return f"✅ Recommended: {base}\n\n🤖 AI Reasoning:\n{explanation}"22 unmodified lines232425262728293031323322 unmodified linesExplain why this is the best recipient in 2-3 lines."""response = client.chat.completions.create(model="llama-2-7b-chat",messages=[{"role": "user", "content": prompt}])explanation = response.choices[0].message.contentreturn f"✅ Recommended: {base}\n\n🤖 AI Reasoning:\n{explanation}"
app.py-3