gsbm commited on
Commit
2eee1ee
·
verified ·
1 Parent(s): 6e7d27d

Update run.py

Browse files
Files changed (1) hide show
  1. run.py +1 -0
run.py CHANGED
@@ -90,6 +90,7 @@ with gr.Blocks() as demo:
90
  document.querySelector('#primary_color_input label input').value = '{primary_color}';
91
  document.querySelector('#secondary_color_input label input').value = '{secondary_color}';
92
  document.querySelector('#neutral_color_input label input').value = '{neutral_color}';
 
93
  var styleElement = document.getElementById('dynamic-css');
94
  if (styleElement) {{
95
  styleElement.innerHTML = `{new_css}`;
 
90
  document.querySelector('#primary_color_input label input').value = '{primary_color}';
91
  document.querySelector('#secondary_color_input label input').value = '{secondary_color}';
92
  document.querySelector('#neutral_color_input label input').value = '{neutral_color}';
93
+ console.log(document.querySelector('#primary_color_input label input'))
94
  var styleElement = document.getElementById('dynamic-css');
95
  if (styleElement) {{
96
  styleElement.innerHTML = `{new_css}`;