Spaces:
Runtime error
Runtime error
finished app no frills
Browse files
app.py
CHANGED
@@ -247,6 +247,7 @@ def train_and_inference(api_key, ontology_id, model_run_id):
|
|
247 |
from tensorflow.errors import InvalidArgumentError # Add this import
|
248 |
ontology = client.get_ontology(ontology_id)
|
249 |
label_list = []
|
|
|
250 |
for datarow in model_run.export_labels(download=True):
|
251 |
try:
|
252 |
label, confidence = make_prediction(datarow['Labeled Data'])
|
|
|
247 |
from tensorflow.errors import InvalidArgumentError # Add this import
|
248 |
ontology = client.get_ontology(ontology_id)
|
249 |
label_list = []
|
250 |
+
st.write(ontology)
|
251 |
for datarow in model_run.export_labels(download=True):
|
252 |
try:
|
253 |
label, confidence = make_prediction(datarow['Labeled Data'])
|