fibmskrt commited on
Commit
33dfe7b
1 Parent(s): 62d9b57

fix: convert paths to strings

Browse files
Files changed (1) hide show
  1. app.py +4 -4
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: