sunwaee commited on
Commit
65a7e85
1 Parent(s): b128495
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -85,12 +85,12 @@ st.set_page_config(layout="centered")
85
  st.title("Multiclass Emotion Classification")
86
  st.write("DeepMind Language Perceiver for Multiclass Emotion Classification (Eng). ")
87
 
88
- maintenance = True
89
  if maintenance:
90
  st.write("Unavailable for now (file downloads limit). ")
91
  else:
92
  # Variables
93
- ids = {'perceiver-go-emotions': st.secrets['model_key']}
94
  labels = load_labels()
95
 
96
  # Download all models from drive
85
  st.title("Multiclass Emotion Classification")
86
  st.write("DeepMind Language Perceiver for Multiclass Emotion Classification (Eng). ")
87
 
88
+ maintenance = False
89
  if maintenance:
90
  st.write("Unavailable for now (file downloads limit). ")
91
  else:
92
  # Variables
93
+ ids = {'perceiver-go-emotions': st.secrets['model']}
94
  labels = load_labels()
95
 
96
  # Download all models from drive