Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -18,7 +18,7 @@ chrome_options.add_argument("--no-sandbox") # Disable sandboxing
|
|
| 18 |
chrome_options.add_argument("--disable-dev-shm-usage") # Fix potential issues with shared memory
|
| 19 |
|
| 20 |
# Install the correct version of chromedriver
|
| 21 |
-
chrome_driver_path = ChromeDriverManager(
|
| 22 |
|
| 23 |
# Initialize the WebDriver
|
| 24 |
driver = webdriver.Chrome(service=Service(chrome_driver_path), options=chrome_options)
|
|
|
|
| 18 |
chrome_options.add_argument("--disable-dev-shm-usage") # Fix potential issues with shared memory
|
| 19 |
|
| 20 |
# Install the correct version of chromedriver
|
| 21 |
+
chrome_driver_path = ChromeDriverManager().install()
|
| 22 |
|
| 23 |
# Initialize the WebDriver
|
| 24 |
driver = webdriver.Chrome(service=Service(chrome_driver_path), options=chrome_options)
|