Update app.py
Browse files
app.py
CHANGED
@@ -8,12 +8,12 @@ from gradio_client import Client
|
|
8 |
#from selenium.webdriver.chrome.options import Options
|
9 |
|
10 |
|
11 |
-
def selenium(
|
12 |
options = webdriver.ChromeOptions()
|
13 |
options.add_argument('--headless')
|
14 |
wd = webdriver.Chrome(options=options)
|
15 |
try:
|
16 |
-
url = 'https://www.google.com/search?q=zugverbindung+bad+kissingen+euerdorf'
|
17 |
url = 'https://www.spiegel.de'
|
18 |
#<ol class="AmbQnf">
|
19 |
wd.get(url)
|
|
|
8 |
#from selenium.webdriver.chrome.options import Options
|
9 |
|
10 |
|
11 |
+
def selenium(message):
|
12 |
options = webdriver.ChromeOptions()
|
13 |
options.add_argument('--headless')
|
14 |
wd = webdriver.Chrome(options=options)
|
15 |
try:
|
16 |
+
#url = 'https://www.google.com/search?q=zugverbindung+bad+kissingen+euerdorf'
|
17 |
url = 'https://www.spiegel.de'
|
18 |
#<ol class="AmbQnf">
|
19 |
wd.get(url)
|