Spaces:
Running
on
Zero
Running
on
Zero
feiyang-cai
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -6,7 +6,7 @@ import os
|
|
6 |
|
7 |
def get_models():
|
8 |
# this is the collection id for the molecular property prediction models
|
9 |
-
collection = get_collection("ChemFM/molecular-property-prediction-6710141ffc31f31a47d6fc0c")
|
10 |
models = dict()
|
11 |
for item in collection.items:
|
12 |
if item.item_type == "model":
|
|
|
6 |
|
7 |
def get_models():
|
8 |
# this is the collection id for the molecular property prediction models
|
9 |
+
collection = get_collection("ChemFM/molecular-property-prediction-6710141ffc31f31a47d6fc0c", token = os.environ.get("TOKEN"))
|
10 |
models = dict()
|
11 |
for item in collection.items:
|
12 |
if item.item_type == "model":
|