Update index.js
Browse files
index.js
CHANGED
|
@@ -144,7 +144,7 @@ function generateHash() {
|
|
| 144 |
}
|
| 145 |
return { session_hash: hash, fn_index: 2 };
|
| 146 |
}
|
| 147 |
-
return res.send(await
|
| 148 |
})
|
| 149 |
|
| 150 |
app.all('/topdf', async (req, res) => {
|
|
|
|
| 144 |
}
|
| 145 |
return { session_hash: hash, fn_index: 2 };
|
| 146 |
}
|
| 147 |
+
return res.send(await animagine({prompt, negative, model}))
|
| 148 |
})
|
| 149 |
|
| 150 |
app.all('/topdf', async (req, res) => {
|