fixed app
Browse files
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 =
|
89 |
if maintenance:
|
90 |
st.write("Unavailable for now (file downloads limit). ")
|
91 |
else:
|
92 |
# Variables
|
93 |
-
ids = {'perceiver-go-emotions': st.secrets['
|
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
|