Spaces:
Paused
Paused
Update index.js
Browse files
index.js
CHANGED
|
@@ -75,7 +75,7 @@ app.post('/api/chatgpt', async (req, res) => {
|
|
| 75 |
const response = await chatgpt_4(prompt)
|
| 76 |
res.json({
|
| 77 |
status: "ok",
|
| 78 |
-
result: response
|
| 79 |
})
|
| 80 |
} else if(model == "gpt-3.5") {
|
| 81 |
const response = await acytoo(prompt, "gpt-4")
|
|
|
|
| 75 |
const response = await chatgpt_4(prompt)
|
| 76 |
res.json({
|
| 77 |
status: "ok",
|
| 78 |
+
result: response.reply
|
| 79 |
})
|
| 80 |
} else if(model == "gpt-3.5") {
|
| 81 |
const response = await acytoo(prompt, "gpt-4")
|