Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,4 +1,4 @@
|
|
| 1 |
-
from __future__ import annotations
|
| 2 |
from selenium import webdriver
|
| 3 |
#from typing import Iterable
|
| 4 |
|
|
@@ -10,7 +10,7 @@ from io import BytesIO
|
|
| 10 |
from selenium.common.exceptions import WebDriverException
|
| 11 |
|
| 12 |
driver_type = 'chromedriver'
|
| 13 |
-
|
| 14 |
def run_script(text: str):
|
| 15 |
regex = r"^(https?://)"
|
| 16 |
is_url = re.search(regex, text)
|
|
|
|
| 1 |
+
#from __future__ import annotations
|
| 2 |
from selenium import webdriver
|
| 3 |
#from typing import Iterable
|
| 4 |
|
|
|
|
| 10 |
from selenium.common.exceptions import WebDriverException
|
| 11 |
|
| 12 |
driver_type = 'chromedriver'
|
| 13 |
+
driver=False
|
| 14 |
def run_script(text: str):
|
| 15 |
regex = r"^(https?://)"
|
| 16 |
is_url = re.search(regex, text)
|