fffiloni commited on
Commit
3229ca5
1 Parent(s): fbe3de0

Update share_btn.py

Browse files
Files changed (1) hide show
  1. share_btn.py +1 -3
share_btn.py CHANGED
@@ -44,9 +44,7 @@ share_js = """async () => {
44
  const shareBtnEl = gradioEl.querySelector('#share-btn');
45
  const shareIconEl = gradioEl.querySelector('#share-btn-share-icon');
46
  const loadingIconEl = gradioEl.querySelector('#share-btn-loading-icon');
47
- if(!outputVideo){
48
- return;
49
- };
50
  shareBtnEl.style.pointerEvents = 'none';
51
  shareIconEl.style.display = 'none';
52
  loadingIconEl.style.removeProperty('display');
 
44
  const shareBtnEl = gradioEl.querySelector('#share-btn');
45
  const shareIconEl = gradioEl.querySelector('#share-btn-share-icon');
46
  const loadingIconEl = gradioEl.querySelector('#share-btn-loading-icon');
47
+
 
 
48
  shareBtnEl.style.pointerEvents = 'none';
49
  shareIconEl.style.display = 'none';
50
  loadingIconEl.style.removeProperty('display');