Spaces:
Sleeping
Sleeping
Update app.py
Browse files39 unmodified lines4041424344454639 unmodified linesfor attempt in range(3):try:response = client.chat.completions.create(model="llama-2-7b-chat", # smaller model for Spacesmessages=[{"role": "user", "content": prompt}])explanation = response.choices[0].message.content39 unmodified lines4041424344454639 unmodified linesfor attempt in range(3):try:response = client.chat.completions.create(model="llama-3.3-70b-versatile", # smaller model for Spacesmessages=[{"role": "user", "content": prompt}])explanation = response.choices[0].message.content
app.py+1-1