Update share_btn.py
Browse files- share_btn.py +6 -3
share_btn.py
CHANGED
@@ -38,7 +38,7 @@ share_js = """async () => {
|
|
38 |
|
39 |
const gradioEl = document.querySelector('body > gradio-app');
|
40 |
|
41 |
-
const whisper_input = gradioEl.querySelector('#text_inp > textarea').value;
|
42 |
|
43 |
const outputVideo = gradioEl.querySelector('#video_out video');
|
44 |
const outputVideo_src = gradioEl.querySelector('#video_out video').src;
|
@@ -64,9 +64,12 @@ share_js = """async () => {
|
|
64 |
|
65 |
const videoFile = await getOutputMusicFile(outputVideo);
|
66 |
const dataOutputVideo = await uploadFile(videoFile);
|
|
|
|
|
|
|
67 |
|
68 |
-
const descriptionMd =
|
69 |
-
|
70 |
|
71 |
#### Video:
|
72 |
|
|
|
38 |
|
39 |
const gradioEl = document.querySelector('body > gradio-app');
|
40 |
|
41 |
+
//const whisper_input = gradioEl.querySelector('#text_inp > textarea').value;
|
42 |
|
43 |
const outputVideo = gradioEl.querySelector('#video_out video');
|
44 |
const outputVideo_src = gradioEl.querySelector('#video_out video').src;
|
|
|
64 |
|
65 |
const videoFile = await getOutputMusicFile(outputVideo);
|
66 |
const dataOutputVideo = await uploadFile(videoFile);
|
67 |
+
|
68 |
+
//#### What i asked for:
|
69 |
+
//${whisper_input}
|
70 |
|
71 |
+
const descriptionMd = `
|
72 |
+
|
73 |
|
74 |
#### Video:
|
75 |
|