WoodLB commited on
Commit
29a7b7b
·
1 Parent(s): 005ffc6

finished app no frills

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