Spaces:
Running
Running
update
Browse files- app.py +2 -1
- model_cards/examples.csv +1 -1
app.py
CHANGED
|
@@ -55,6 +55,7 @@ if __name__ == "__main__":
|
|
| 55 |
examples = pd.read_csv(metadata_root.joinpath("examples.csv"), header=None).fillna(
|
| 56 |
""
|
| 57 |
)
|
|
|
|
| 58 |
|
| 59 |
with open(metadata_root.joinpath("article.md"), "r") as f:
|
| 60 |
article = f.read()
|
|
@@ -96,6 +97,6 @@ if __name__ == "__main__":
|
|
| 96 |
outputs=gr.HTML(label="Output"),
|
| 97 |
article=article,
|
| 98 |
description=description,
|
| 99 |
-
|
| 100 |
)
|
| 101 |
demo.launch(debug=True, show_error=True)
|
|
|
|
| 55 |
examples = pd.read_csv(metadata_root.joinpath("examples.csv"), header=None).fillna(
|
| 56 |
""
|
| 57 |
)
|
| 58 |
+
print("Examples: ", examples.values.tolist())
|
| 59 |
|
| 60 |
with open(metadata_root.joinpath("article.md"), "r") as f:
|
| 61 |
article = f.read()
|
|
|
|
| 97 |
outputs=gr.HTML(label="Output"),
|
| 98 |
article=article,
|
| 99 |
description=description,
|
| 100 |
+
examples=examples.values.tolist(),
|
| 101 |
)
|
| 102 |
demo.launch(debug=True, show_error=True)
|
model_cards/examples.csv
CHANGED
|
@@ -1 +1 @@
|
|
| 1 |
-
NCCR_rnn_suzuki_aug16_smiles,10,,100,
|
|
|
|
| 1 |
+
NCCR_rnn_suzuki_aug16_smiles,10,,100,10,50,10
|