Update app.py
Browse files
app.py
CHANGED
@@ -10,7 +10,7 @@ model_path = os.path.join(os.getcwd(),"bone_age_model.onnx")
|
|
10 |
|
11 |
# Check if the model file exists and download if it does not
|
12 |
if not os.path.exists(model_path):
|
13 |
-
gdown.download(model_url, model_path, quiet=False)
|
14 |
|
15 |
# Initialize the ONNX session
|
16 |
session = ort.InferenceSession(model_path)
|
|
|
10 |
|
11 |
# Check if the model file exists and download if it does not
|
12 |
if not os.path.exists(model_path):
|
13 |
+
gdown.download(model_url, model_path, fuzzy=True, quiet=False)
|
14 |
|
15 |
# Initialize the ONNX session
|
16 |
session = ort.InferenceSession(model_path)
|