Spaces:
Paused
Paused
Update share_btn.py
Browse files- share_btn.py +1 -1
share_btn.py
CHANGED
@@ -60,7 +60,7 @@ share_js = """async () => {
|
|
60 |
const outputMusic = gradioEl.querySelector('#music-output audio');
|
61 |
const outputMusic_src = gradioEl.querySelector('#music-output audio').src;
|
62 |
const outputMusic_name = outputMusic_src.split('/').pop();
|
63 |
-
let titleTxt = outputMusic_name
|
64 |
//if(titleTxt.length > 100){
|
65 |
// titleTxt = titleTxt.slice(0, 100) + ' ...';
|
66 |
//}
|
|
|
60 |
const outputMusic = gradioEl.querySelector('#music-output audio');
|
61 |
const outputMusic_src = gradioEl.querySelector('#music-output audio').src;
|
62 |
const outputMusic_name = outputMusic_src.split('/').pop();
|
63 |
+
let titleTxt = outputMusic_name;
|
64 |
//if(titleTxt.length > 100){
|
65 |
// titleTxt = titleTxt.slice(0, 100) + ' ...';
|
66 |
//}
|