jjin6573 commited on
Commit
bd8aa67
·
verified ·
1 Parent(s): 795b054

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -2065,15 +2065,15 @@ with gr.Blocks() as demo:
2065
  </div>
2066
  <script>
2067
  // Force dark mode on page load
2068
- (function() {
2069
  const url = new URL(window.location);
2070
- if (url.searchParams.get('__theme') !== 'dark') {
2071
  url.searchParams.set('__theme', 'dark');
2072
  window.location.href = url.href;
2073
- }
2074
  document.body.classList.add('dark');
2075
  document.documentElement.setAttribute('data-theme', 'dark');
2076
- })();
2077
 
2078
  // JavaScript to completely remove upload text from Audio components in demo-row
2079
  function removeAudioUploadText() {{
 
2065
  </div>
2066
  <script>
2067
  // Force dark mode on page load
2068
+ (function() {{
2069
  const url = new URL(window.location);
2070
+ if (url.searchParams.get('__theme') !== 'dark') {{
2071
  url.searchParams.set('__theme', 'dark');
2072
  window.location.href = url.href;
2073
+ }}
2074
  document.body.classList.add('dark');
2075
  document.documentElement.setAttribute('data-theme', 'dark');
2076
+ }})();
2077
 
2078
  // JavaScript to completely remove upload text from Audio components in demo-row
2079
  function removeAudioUploadText() {{