Spaces:
Runtime error
Runtime error
Update app.py
Browse files40 unmodified lines4142434445464740 unmodified lines]}],"max_tokens": 500}response = requests.post("https://api.openai.com/v1/chat/completions", headers=headers, json=payload)img_preview = response.json()40 unmodified lines41424344454647484940 unmodified lines]}],"max_tokens": 500,"temperature": 0.9,"n": 1}response = requests.post("https://api.openai.com/v1/chat/completions", headers=headers, json=payload)img_preview = response.json()
app.py+3-1