Spaces:
Sleeping
Sleeping
Jimin Park
commited on
Commit
·
21ac0ad
1
Parent(s):
bea7945
debug
Browse files- requirements.txt +2 -2
- util/app.py +0 -13
requirements.txt
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
gradio==4.
|
2 |
pandas==2.1.4
|
3 |
requests==2.31.0
|
4 |
xgboost==2.0.3
|
@@ -6,4 +6,4 @@ huggingface-hub==0.20.3
|
|
6 |
numpy==1.26.0
|
7 |
scikit-learn==1.3.1
|
8 |
selenium==4.27.1
|
9 |
-
webdriver-manager
|
|
|
1 |
+
gradio==4.44.1
|
2 |
pandas==2.1.4
|
3 |
requests==2.31.0
|
4 |
xgboost==2.0.3
|
|
|
6 |
numpy==1.26.0
|
7 |
scikit-learn==1.3.1
|
8 |
selenium==4.27.1
|
9 |
+
webdriver-manager
|
util/app.py
CHANGED
@@ -15,19 +15,6 @@ from selenium.webdriver.common.by import By
|
|
15 |
from selenium.webdriver.support.ui import WebDriverWait
|
16 |
from selenium.webdriver.support import expected_conditions as EC
|
17 |
|
18 |
-
import os
|
19 |
-
import shutil
|
20 |
-
|
21 |
-
# Path to the WebDriver Manager cache
|
22 |
-
webdriver_cache_path = os.path.expanduser("~/.wdm")
|
23 |
-
|
24 |
-
# Remove the cache directory if it exists
|
25 |
-
if os.path.exists(webdriver_cache_path):
|
26 |
-
shutil.rmtree(webdriver_cache_path)
|
27 |
-
print("WebDriver cache removed.")
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
# Define champion list for dropdowns
|
32 |
CHAMPIONS = [
|
33 |
"Aatrox", "Ahri", "Akali", "Akshan", "Alistar", "Amumu", "Anivia", "Annie", "Aphelios", "Ashe",
|
|
|
15 |
from selenium.webdriver.support.ui import WebDriverWait
|
16 |
from selenium.webdriver.support import expected_conditions as EC
|
17 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
18 |
# Define champion list for dropdowns
|
19 |
CHAMPIONS = [
|
20 |
"Aatrox", "Ahri", "Akali", "Akshan", "Alistar", "Amumu", "Anivia", "Annie", "Aphelios", "Ashe",
|