K00B404 commited on
Commit
10a9ae7
1 Parent(s): 3c5164e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -219,7 +219,7 @@ def query(prompt, is_negative=False, steps=30, cfg_scale=7, sampler="DPM++ 2M Ka
219
  js_code = """
220
  <script>
221
  document.addEventListener("DOMContentLoaded", function() {
222
- const accordion = document.querySelector('.gr-accordion'); // Adjust selector based on accordion class
223
  const container = document.querySelector('.gradio-container');
224
 
225
  function adjustBackground() {
 
219
  js_code = """
220
  <script>
221
  document.addEventListener("DOMContentLoaded", function() {
222
+ const accordion = document.querySelector('.gr.Accordion'); // Adjust selector based on accordion class
223
  const container = document.querySelector('.gradio-container');
224
 
225
  function adjustBackground() {