Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -15,7 +15,8 @@ os.makedirs(extract_dir, exist_ok=True)
|
|
| 15 |
with zipfile.ZipFile(local_zip, 'r') as zip_ref:
|
| 16 |
zip_ref.extractall(extract_dir)
|
| 17 |
|
| 18 |
-
predictor = TabularPredictor.load(extract_dir)
|
|
|
|
| 19 |
|
| 20 |
def predict_brick(length, height, width, studs):
|
| 21 |
record = pd.DataFrame([{
|
|
|
|
| 15 |
with zipfile.ZipFile(local_zip, 'r') as zip_ref:
|
| 16 |
zip_ref.extractall(extract_dir)
|
| 17 |
|
| 18 |
+
predictor = TabularPredictor.load(extract_dir, require_py_version_match=False)
|
| 19 |
+
|
| 20 |
|
| 21 |
def predict_brick(length, height, width, studs):
|
| 22 |
record = pd.DataFrame([{
|