mgokg commited on
Commit
17614fa
·
verified ·
1 Parent(s): 100f4d0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -7
app.py CHANGED
@@ -3,16 +3,17 @@ from selenium import webdriver
3
  from selenium.common.exceptions import WebDriverException
4
  from selenium.webdriver.common.by import By
5
  from gradio_client import Client
6
- #from selenium.webdriver.support.wait import WebDriverWait
7
- #from selenium.webdriver.support import expected_conditions as EC
8
- #from selenium.webdriver.chrome.options import Options
 
 
 
 
9
 
10
  def selenium(message):
11
- options = webdriver.ChromeOptions()
12
- options.add_argument('--headless')
13
 
14
- try:
15
- wd = webdriver.Chrome(options=options)
16
  url = 'https://www.google.com/search?q=zugverbindung+bad+kissingen+euerdorf'
17
  #url = 'https://www.spiegel.de'
18
  #<ol class="AmbQnf">
 
3
  from selenium.common.exceptions import WebDriverException
4
  from selenium.webdriver.common.by import By
5
  from gradio_client import Client
6
+ from selenium.webdriver.support.wait import WebDriverWait
7
+ from selenium.webdriver.support import expected_conditions as EC
8
+ from selenium.webdriver.chrome.options import Options
9
+
10
+ options = webdriver.ChromeOptions()
11
+ options.add_argument('--headless')
12
+ wd = webdriver.Chrome(options=options)
13
 
14
  def selenium(message):
 
 
15
 
16
+ try:
 
17
  url = 'https://www.google.com/search?q=zugverbindung+bad+kissingen+euerdorf'
18
  #url = 'https://www.spiegel.de'
19
  #<ol class="AmbQnf">