Jimin Park
commited on
Commit
·
e1ed06d
1
Parent(s):
07eb8a0
added model
Browse files- util/app.py +4 -0
util/app.py
CHANGED
@@ -60,6 +60,7 @@ except Exception as e:
|
|
60 |
print(f"Error loading model: {e}")
|
61 |
model = None
|
62 |
|
|
|
63 |
def get_user_training_df(player_opgg_url):
|
64 |
try:
|
65 |
|
@@ -67,6 +68,9 @@ def get_user_training_df(player_opgg_url):
|
|
67 |
if not player_opgg_url or not isinstance(player_opgg_url, str):
|
68 |
return "Invalid URL provided"
|
69 |
|
|
|
|
|
|
|
70 |
# Add debugging print
|
71 |
print(f"Processing URL: {player_opgg_url}")
|
72 |
|
|
|
60 |
print(f"Error loading model: {e}")
|
61 |
model = None
|
62 |
|
63 |
+
# Functions
|
64 |
def get_user_training_df(player_opgg_url):
|
65 |
try:
|
66 |
|
|
|
68 |
if not player_opgg_url or not isinstance(player_opgg_url, str):
|
69 |
return "Invalid URL provided"
|
70 |
|
71 |
+
print("type(player_opgg_url) : ", type(player_opgg_url))
|
72 |
+
print("player_opgg_url = ", player_opgg_url)
|
73 |
+
|
74 |
# Add debugging print
|
75 |
print(f"Processing URL: {player_opgg_url}")
|
76 |
|