Spaces:
Sleeping
Sleeping
Update server.js
Browse files
server.js
CHANGED
|
@@ -131,7 +131,6 @@ app.post('/translate', async (req, res) => {
|
|
| 131 |
],
|
| 132 |
"max_tokens": 9000,
|
| 133 |
};
|
| 134 |
-
}
|
| 135 |
|
| 136 |
try {
|
| 137 |
const response = await axios.post('https://api.openai.com/v1/chat/completions', payload, {
|
|
|
|
| 131 |
],
|
| 132 |
"max_tokens": 9000,
|
| 133 |
};
|
|
|
|
| 134 |
|
| 135 |
try {
|
| 136 |
const response = await axios.post('https://api.openai.com/v1/chat/completions', payload, {
|