anzorq commited on
Commit
e8b3929
1 Parent(s): fc0fafd

Update share_btn.py

Browse files
Files changed (1) hide show
  1. share_btn.py +3 -5
share_btn.py CHANGED
@@ -50,7 +50,7 @@ share_js = """async () => {
50
 
51
  const videoEl = gradioAppEL.querySelector('#riff-video video');
52
 
53
- const title = prompt_2 ? `From ${prompt_1} to ${prompt_2}` : prompt_1;
54
 
55
  const shareBtnEl = gradioAppEL.querySelector('#share-btn');
56
  const shareIconEl = gradioAppEL.querySelector('#share-btn-share-icon');
@@ -71,10 +71,8 @@ share_js = """async () => {
71
  Feel: ${feel}
72
  Seed: ${seed}
73
 
74
- #### Audio:
75
- <audio src="${dataVideoFile}" controls>
76
- Your browser does not support the video element.
77
- </audio>
78
  `;
79
 
80
  const params = new URLSearchParams({
 
50
 
51
  const videoEl = gradioAppEL.querySelector('#riff-video video');
52
 
53
+ const title = prompt_2 ? `From [${prompt_1}] to [${prompt_2}]` : prompt_1;
54
 
55
  const shareBtnEl = gradioAppEL.querySelector('#share-btn');
56
  const shareIconEl = gradioAppEL.querySelector('#share-btn-share-icon');
 
71
  Feel: ${feel}
72
  Seed: ${seed}
73
 
74
+ #### Video:
75
+ ${dataVideoFile}
 
 
76
  `;
77
 
78
  const params = new URLSearchParams({