Spaces:
Runtime error
Runtime error
finished app no frills
Browse files
app.py
CHANGED
@@ -276,6 +276,8 @@ def train_and_inference(api_key, ontology_id, model_run_id):
|
|
276 |
st.write(prediction_import.errors == [])
|
277 |
if prediction_import.errors == []:
|
278 |
return "Model Trained and inference ran successfully"
|
|
|
|
|
279 |
|
280 |
st.title("Enter Applicable IDs and keys below")
|
281 |
api_key = st.text_input("Enter your api key:", type="password")
|
|
|
276 |
st.write(prediction_import.errors == [])
|
277 |
if prediction_import.errors == []:
|
278 |
return "Model Trained and inference ran successfully"
|
279 |
+
else:
|
280 |
+
return prediction_import.errors
|
281 |
|
282 |
st.title("Enter Applicable IDs and keys below")
|
283 |
api_key = st.text_input("Enter your api key:", type="password")
|