xinfyxinfy commited on
Commit
d15e62f
1 Parent(s): 371d302

Update app.py

Browse files

detailed error message

Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -210,7 +210,7 @@ if st.button('Submit'):
210
  csv = convert_df(pd.DataFrame(np.round(res, 4), columns=['output']))
211
  st.download_button(label="Download Predictions",data=csv,file_name='tcresm_predictions.csv', mime='text/csv')
212
  except:
213
- st.error('Please ensure you have uploaded the files before pressing the Submit button', icon="🚨")
214
 
215
 
216
 
 
210
  csv = convert_df(pd.DataFrame(np.round(res, 4), columns=['output']))
211
  st.download_button(label="Download Predictions",data=csv,file_name='tcresm_predictions.csv', mime='text/csv')
212
  except:
213
+ st.error('Please ensure you have uploaded the files and chosen the correct model before pressing the Submit button', icon="🚨")
214
 
215
 
216