Spaces:
Sleeping
Sleeping
Upload folder using huggingface_hub
Browse files- main/helper.py +1 -1
main/helper.py
CHANGED
|
@@ -7,7 +7,7 @@ from pathlib import Path
|
|
| 7 |
# load yaml files to get model meta data.
|
| 8 |
try:
|
| 9 |
print(os.getcwd())
|
| 10 |
-
with open(Path("model/registered_model_meta
|
| 11 |
model_metadata = yaml.safe_load(f)
|
| 12 |
except:
|
| 13 |
raise FileNotFoundError("Failed to load file having model metadata")
|
|
|
|
| 7 |
# load yaml files to get model meta data.
|
| 8 |
try:
|
| 9 |
print(os.getcwd())
|
| 10 |
+
with open(Path("model/registered_model_meta"), 'r') as f:
|
| 11 |
model_metadata = yaml.safe_load(f)
|
| 12 |
except:
|
| 13 |
raise FileNotFoundError("Failed to load file having model metadata")
|