Spaces:
Build error
Build error
Ilya commited on
Update app.py
Browse files10 unmodified lines111213141415161710 unmodified lines eos_token = "<|endoftext|>" output = client.chat.completions.create( messages=[ {"role": "system", "content": "You are a Python language guide. Write code on the user topic. Make sure that the code is runnable and doesn't close the shell window, so end with input() if the user request is simple. If the input is code, correct it for mistakes."}, {"role": "system", "content": "You are a Python language guide. Write code on the user topic. If the input is code, correct it for mistakes."}, {"role": "user", "content": f"Write only python code without any explanation: {user_sample}"}, ], stream=False,app.py+1-1