fffiloni commited on
Commit
7919989
1 Parent(s): e64771e

Update share_btn.py

Browse files
Files changed (1) hide show
  1. share_btn.py +2 -2
share_btn.py CHANGED
@@ -67,7 +67,7 @@ async () => {
67
  loadingIconEl.style.removeProperty('display');
68
 
69
  const videoFile = await getOutputVideoFile(outputVideo_src);
70
- //const dataOutputVideo = await uploadFile(videoFile);
71
 
72
 
73
  const descriptionMd = `
@@ -75,7 +75,7 @@ async () => {
75
  ${whisper_input}
76
  #### Video:
77
  <video controls>
78
- <source src="${videoFile}" type="video/mp4">
79
  Your browser does not support the video element.
80
  </video>
81
  `;
 
67
  loadingIconEl.style.removeProperty('display');
68
 
69
  const videoFile = await getOutputVideoFile(outputVideo_src);
70
+ const dataOutputVideo = await uploadFile(videoFile);
71
 
72
 
73
  const descriptionMd = `
 
75
  ${whisper_input}
76
  #### Video:
77
  <video controls>
78
+ <source src="${dataOutputVideo}" type="video/mp4">
79
  Your browser does not support the video element.
80
  </video>
81
  `;