fix: examples convert to str
Browse files
app.py
CHANGED
@@ -40,8 +40,8 @@ if __name__ == "__main__":
|
|
40 |
metadata_root = pathlib.Path(__file__).parent.joinpath("model_cards")
|
41 |
|
42 |
examples = [
|
43 |
-
[metadata_root.joinpath("mol_dct.pkl"), 0, 2],
|
44 |
-
[metadata_root.joinpath("mol_dct.pkl"), 1, 2],
|
45 |
]
|
46 |
|
47 |
with open(metadata_root.joinpath("article.md"), "r") as f:
|
|
|
40 |
metadata_root = pathlib.Path(__file__).parent.joinpath("model_cards")
|
41 |
|
42 |
examples = [
|
43 |
+
[str(metadata_root.joinpath("mol_dct.pkl")), 0, 2],
|
44 |
+
[str(metadata_root.joinpath("mol_dct.pkl")), 1, 2],
|
45 |
]
|
46 |
|
47 |
with open(metadata_root.joinpath("article.md"), "r") as f:
|