Spaces:
Running
on
Zero
Running
on
Zero
fda
Browse files- staticfiles/did.html +1 -16
staticfiles/did.html
CHANGED
@@ -27,10 +27,6 @@
|
|
27 |
user_id: "user",
|
28 |
},
|
29 |
d_id: {
|
30 |
-
headers: {
|
31 |
-
Authorization: `Basic {sdbWl5YXRha2VuOTk4QGdtYWlsLmNvbQ:49lxgWJsJTXPorzCh7O48}`,
|
32 |
-
'Content-Type': 'application/json',
|
33 |
-
},
|
34 |
key: "sdbWl5YXRha2VuOTk4QGdtYWlsLmNvbQ:49lxgWJsJTXPorzCh7O48",
|
35 |
service: "talks",
|
36 |
priority: "cost",
|
@@ -43,19 +39,8 @@
|
|
43 |
}
|
44 |
}
|
45 |
})
|
46 |
-
|
47 |
-
const sessionResponse = await fetchWithRetries(`https://api.d-id.com/talks/streams`, {
|
48 |
-
method: 'POST',
|
49 |
-
headers: {
|
50 |
-
Authorization: `Basic {5c276d9b-f99b-4e3f-b9ed-2653e7267cec19103d7a0b7358}`,
|
51 |
-
'Content-Type': 'application/json',
|
52 |
-
},
|
53 |
-
body: JSON.stringify({
|
54 |
-
source_url: `{https://kenken999-fastapi-django-main-live.hf.space/static/sugi.jpg}`,
|
55 |
-
}),
|
56 |
-
});
|
57 |
|
58 |
-
|
59 |
</script>
|
60 |
</body>
|
61 |
</html>
|
|
|
27 |
user_id: "user",
|
28 |
},
|
29 |
d_id: {
|
|
|
|
|
|
|
|
|
30 |
key: "sdbWl5YXRha2VuOTk4QGdtYWlsLmNvbQ:49lxgWJsJTXPorzCh7O48",
|
31 |
service: "talks",
|
32 |
priority: "cost",
|
|
|
39 |
}
|
40 |
}
|
41 |
})
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
42 |
|
43 |
+
miiboAvatar.autoRecognize();
|
44 |
</script>
|
45 |
</body>
|
46 |
</html>
|