fffiloni commited on
Commit
be3f374
โ€ข
1 Parent(s): 0feae84

Update share_btn.py

Browse files
Files changed (1) hide show
  1. 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 + ' *Do not forget to name your combo with a great title :) ';
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
  //}