Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -304,7 +304,7 @@ class PantsPredictor:
|
|
304 |
return predictions
|
305 |
|
306 |
class PantsSizePredictor:
|
307 |
-
def __init__(self, size_charts_path=
|
308 |
try:
|
309 |
with open(size_charts_path, 'r') as f:
|
310 |
self.brand_charts = json.load(f)
|
|
|
304 |
return predictions
|
305 |
|
306 |
class PantsSizePredictor:
|
307 |
+
def __init__(self, size_charts_path=PANTS_SIZE_CHARTS_PATH):
|
308 |
try:
|
309 |
with open(size_charts_path, 'r') as f:
|
310 |
self.brand_charts = json.load(f)
|