Update share_btn.py
Browse files- share_btn.py +8 -12
share_btn.py
CHANGED
@@ -25,18 +25,14 @@ share_js = """async () => {
|
|
25 |
|
26 |
async function getOutputVideoFile(videoURL, videoName){
|
27 |
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
return videoBlob;
|
40 |
|
41 |
}
|
42 |
|
|
|
25 |
|
26 |
async function getOutputVideoFile(videoURL, videoName){
|
27 |
|
28 |
+
fetch('https://fffiloni-one-shot-talking-face.hf.space/file=/tmp/image_audio0ffba6d13938dc276c1658121514825da64bb96b.mp4')
|
29 |
+
.then(response => response.blob())
|
30 |
+
.then(blob => {
|
31 |
+
// do something with the blob;
|
32 |
+
console.log(blob);
|
33 |
+
let videoBlob = blob;
|
34 |
+
return videoBlob;
|
35 |
+
});
|
|
|
|
|
|
|
|
|
36 |
|
37 |
}
|
38 |
|