Sebastiankay commited on
Commit
79e2259
·
1 Parent(s): ec4794b

8. Sept. 2024, 06:47

Browse files
Files changed (1) hide show
  1. _res/_custom.js +1 -0
_res/_custom.js CHANGED
@@ -42,6 +42,7 @@ function gradioColorChange() {
42
  document.querySelector("body").style.setProperty("--primary-900", "color-mix(in srgb, var(--primary-700) 80%, black)")
43
  document.querySelector("body").style.setProperty("--primary-950", "color-mix(in srgb, var(--primary-700) 90%, black)")
44
 
 
45
  const imageRatioBtns = document.querySelectorAll("#image_ratio_buttons > div label")
46
  const width_selector = document.querySelector("#image_width_selector > label > input")
47
  const hight_selector = document.querySelector("#image_height_selector > label > input")
 
42
  document.querySelector("body").style.setProperty("--primary-900", "color-mix(in srgb, var(--primary-700) 80%, black)")
43
  document.querySelector("body").style.setProperty("--primary-950", "color-mix(in srgb, var(--primary-700) 90%, black)")
44
 
45
+ const prompt_input = document.querySelector("#prompt_input")
46
  const imageRatioBtns = document.querySelectorAll("#image_ratio_buttons > div label")
47
  const width_selector = document.querySelector("#image_width_selector > label > input")
48
  const hight_selector = document.querySelector("#image_height_selector > label > input")