Omnibus commited on
Commit
f6d8594
1 Parent(s): a35e670

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -28,14 +28,14 @@ def run_script(html: str, style: str,font_col,back_col):
28
  options.add_argument('--disable-dev-shm-usage')
29
 
30
  try:
31
-
32
- url = f"https://omnibus-txt2img-static.static.hf.space/index.html?format=color:{font_col};background-color:{back_col};{style}&txt={html}"
33
  driver = webdriver.Chrome(options=options)
34
  driver.get(url)
35
  #html=driver.page_source
36
  driver.implicitly_wait(30)
37
  driver.set_window_size(1920, 4096)
38
- obj = driver.find_element(By.NAME, "in_card")
39
  #obj = driver.find_element_by_id("in_html")
40
  ######################
41
  #inp = driver.find_element("id","input")
 
28
  options.add_argument('--disable-dev-shm-usage')
29
 
30
  try:
31
+
32
+ url = "https://gab.ai/c/65af72173a6a44d9799e202e"
33
  driver = webdriver.Chrome(options=options)
34
  driver.get(url)
35
  #html=driver.page_source
36
  driver.implicitly_wait(30)
37
  driver.set_window_size(1920, 4096)
38
+ obj = driver.find_element(By.ID, "app_container")
39
  #obj = driver.find_element_by_id("in_html")
40
  ######################
41
  #inp = driver.find_element("id","input")