Detsutut commited on
Commit
56d2ab8
1 Parent(s): 163d6d9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -53,7 +53,7 @@ with gr.Blocks() as iface:
53
  btn.click(generate_text, [input_text, max_new_tokens, temperature, top_p, split_output], output)
54
 
55
  # Embed the custom JavaScript
56
- gr.HTML("<script src='script.js'></script>")
57
 
58
  # Launch the interface
59
  if __name__ == "__main__":
 
53
  btn.click(generate_text, [input_text, max_new_tokens, temperature, top_p, split_output], output)
54
 
55
  # Embed the custom JavaScript
56
+ gr.HTML("<script>document.addEventListener('DOMContentLoaded', function() {const elements = document.getElementsByClassName('hide-container'); for (const element of elements) {element.classList.remove('hide-container');}});</script>")
57
 
58
  # Launch the interface
59
  if __name__ == "__main__":