Update server.js
Browse files
server.js
CHANGED
|
@@ -30,7 +30,7 @@ app.post('/generate-video', async (req, res) => {
|
|
| 30 |
try {
|
| 31 |
// Calling the Hugging Face AI Model
|
| 32 |
const response = await axios({
|
| 33 |
-
url: "https://api-inference.huggingface.co/models/
|
| 34 |
method: "POST",
|
| 35 |
headers: {
|
| 36 |
Authorization: `Bearer ${process.env.HF_TOKEN}`,
|
|
|
|
| 30 |
try {
|
| 31 |
// Calling the Hugging Face AI Model
|
| 32 |
const response = await axios({
|
| 33 |
+
url: "https://api-inference.huggingface.co/models/guoyww/animatediff-motion-adapter-v1-5-2",
|
| 34 |
method: "POST",
|
| 35 |
headers: {
|
| 36 |
Authorization: `Bearer ${process.env.HF_TOKEN}`,
|