Nazarshia2889 commited on
Commit
818df16
1 Parent(s): 6b98882
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -38,6 +38,8 @@ elif model_type == 'Linear B-Cell':
38
  model = TFAutoModelForSequenceClassification.from_pretrained('bcell')
39
  except:
40
  st.warning("We're experiencing server issues. Please try again later!", icon="⚠️")
 
 
41
  # submit button
42
  if st.button('Submit'):
43
  locations = []
 
38
  model = TFAutoModelForSequenceClassification.from_pretrained('bcell')
39
  except:
40
  st.warning("We're experiencing server issues. Please try again later!", icon="⚠️")
41
+ else:
42
+ st.warning("We're experiencing server issues. Please try again later!", icon="⚠️")
43
  # submit button
44
  if st.button('Submit'):
45
  locations = []