Update share_btn.py
Browse files- share_btn.py +3 -0
share_btn.py
CHANGED
@@ -27,6 +27,7 @@ share_js = """async () => {
|
|
27 |
|
28 |
const res = await fetch(videoURL, { mode: 'no-cors'});
|
29 |
const blob = await res.blob();
|
|
|
30 |
//const videoId = Date.now() % 200;
|
31 |
const fileName = `talking-portrait-${videoName}`;
|
32 |
const videoBlob = new File([blob], fileName, { type: 'video/mp4' });
|
@@ -39,6 +40,8 @@ share_js = """async () => {
|
|
39 |
|
40 |
}
|
41 |
|
|
|
|
|
42 |
|
43 |
|
44 |
//const gradioEl = document.querySelector('body > gradio-app');
|
|
|
27 |
|
28 |
const res = await fetch(videoURL, { mode: 'no-cors'});
|
29 |
const blob = await res.blob();
|
30 |
+
console.log(blob);
|
31 |
//const videoId = Date.now() % 200;
|
32 |
const fileName = `talking-portrait-${videoName}`;
|
33 |
const videoBlob = new File([blob], fileName, { type: 'video/mp4' });
|
|
|
40 |
|
41 |
}
|
42 |
|
43 |
+
|
44 |
+
|
45 |
|
46 |
|
47 |
//const gradioEl = document.querySelector('body > gradio-app');
|