Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -32,7 +32,7 @@ def getAnnotatedFromPOS(texts, labels):
|
|
| 32 |
|
| 33 |
def main():
|
| 34 |
|
| 35 |
-
st.title("
|
| 36 |
|
| 37 |
checkpoint = st.selectbox("Choose model", checkpoints)
|
| 38 |
model = get_model(checkpoint)
|
|
@@ -44,9 +44,9 @@ def main():
|
|
| 44 |
)
|
| 45 |
|
| 46 |
start = None
|
| 47 |
-
if st.button("
|
| 48 |
start = time.time()
|
| 49 |
-
with st.spinner("
|
| 50 |
|
| 51 |
|
| 52 |
# Build Sentence
|
|
|
|
| 32 |
|
| 33 |
def main():
|
| 34 |
|
| 35 |
+
st.title("Part of Speech Categorizer")
|
| 36 |
|
| 37 |
checkpoint = st.selectbox("Choose model", checkpoints)
|
| 38 |
model = get_model(checkpoint)
|
|
|
|
| 44 |
)
|
| 45 |
|
| 46 |
start = None
|
| 47 |
+
if st.button("Submit"):
|
| 48 |
start = time.time()
|
| 49 |
+
with st.spinner("Computing"):
|
| 50 |
|
| 51 |
|
| 52 |
# Build Sentence
|