Spaces:
Sleeping
Sleeping
fix: convert paths to strings
Browse files
app.py
CHANGED
@@ -94,10 +94,10 @@ if __name__ == "__main__":
|
|
94 |
metadata_root = pathlib.Path(__file__).parent.joinpath("model_cards")
|
95 |
|
96 |
examples = [
|
97 |
-
["Formation Energy", metadata_root.joinpath("7206075.cif")],
|
98 |
-
["Bulk moduli", metadata_root.joinpath("crystals.zip")],
|
99 |
-
["Metal Nonmetal Classifier", metadata_root.joinpath("metal.csv")],
|
100 |
-
["Bulk moduli", metadata_root.joinpath("9000046.cif")],
|
101 |
]
|
102 |
|
103 |
with open(metadata_root.joinpath("article.md"), "r") as f:
|
|
|
94 |
metadata_root = pathlib.Path(__file__).parent.joinpath("model_cards")
|
95 |
|
96 |
examples = [
|
97 |
+
["Formation Energy", str(metadata_root.joinpath("7206075.cif"))],
|
98 |
+
["Bulk moduli", str(metadata_root.joinpath("crystals.zip"))],
|
99 |
+
["Metal Nonmetal Classifier", str(metadata_root.joinpath("metal.csv"))],
|
100 |
+
["Bulk moduli", str(metadata_root.joinpath("9000046.cif"))],
|
101 |
]
|
102 |
|
103 |
with open(metadata_root.joinpath("article.md"), "r") as f:
|