fffiloni commited on
Commit
1a5d2c8
1 Parent(s): 98058c7

Update share_btn.py

Browse files
Files changed (1) hide show
  1. share_btn.py +3 -2
share_btn.py CHANGED
@@ -25,12 +25,13 @@ share_js = """async () => {
25
 
26
  async function getOutputVideoFile(videoURL, videoName){
27
 
28
- fetch('https://fffiloni-one-shot-talking-face.hf.space/file=/tmp/${videoName})
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
 
 
25
 
26
  async function getOutputVideoFile(videoURL, videoName){
27
 
28
+ fetch('https://fffiloni-one-shot-talking-face.hf.space/file=/tmp/${videoName}'')
29
  .then(response => response.blob())
30
  .then(blob => {
31
  // do something with the blob;
32
  console.log(blob);
33
+
34
+ let videoBlob = URL.createObjectURL(blob);;
35
  return videoBlob;
36
  });
37