Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -41,7 +41,8 @@ if choice == 'Text Input':
|
|
| 41 |
model = load_model('best-model-002.pt')
|
| 42 |
model.predict(sentence)
|
| 43 |
st.write(sentence.to_original_text())
|
| 44 |
-
st.write(sentence.to_tagged_string()
|
|
|
|
| 45 |
|
| 46 |
|
| 47 |
|
|
|
|
| 41 |
model = load_model('best-model-002.pt')
|
| 42 |
model.predict(sentence)
|
| 43 |
st.write(sentence.to_original_text())
|
| 44 |
+
st.write(sentence.to_tagged_string())
|
| 45 |
+
st.write(sentence.get_spans())
|
| 46 |
|
| 47 |
|
| 48 |
|