Update app.py
Browse files34 unmodified lines3536373839404134 unmodified linesresponse = client.chat.completions.create(model=os.environ['model_name'],messages=messages,temperature=0.7)return response.choices[0].message["content"]except Exception as e:34 unmodified lines353637383940414234 unmodified linesresponse = client.chat.completions.create(model=os.environ['model_name'],messages=messages,temperature=0.7,max_tokens=4096)return response.choices[0].message["content"]except Exception as e:
app.py+2-1