Fix: en_core_web_sm
Browse files
app.py
CHANGED
@@ -121,9 +121,9 @@ class GramformerDemo:
|
|
121 |
st.warning('TO BE IMPLEMENTED !!')
|
122 |
st.stop()
|
123 |
|
124 |
-
|
125 |
-
|
126 |
-
|
127 |
|
128 |
input_text = st.selectbox(
|
129 |
label="Choose an example",
|
|
|
121 |
st.warning('TO BE IMPLEMENTED !!')
|
122 |
st.stop()
|
123 |
|
124 |
+
with st.spinner('Loading model..'):
|
125 |
+
loadEnModel()
|
126 |
+
gf = self.load_gf(self.model_map[model_type])
|
127 |
|
128 |
input_text = st.selectbox(
|
129 |
label="Choose an example",
|