Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -30,11 +30,6 @@ with st.form(key='my_form'):
|
|
| 30 |
text_input = st.text_input(label='Enter a sentence')
|
| 31 |
submit_button = st.form_submit_button(label='Submit')
|
| 32 |
|
| 33 |
-
# Create the form
|
| 34 |
-
with st.form(key='my_form'):
|
| 35 |
-
text_input = st.text_input(label='Enter a sentence')
|
| 36 |
-
submit_button = st.form_submit_button(label='Submit')
|
| 37 |
-
|
| 38 |
# Process the text and extract the entities
|
| 39 |
if text_input:
|
| 40 |
entities = refined_model.process_text(text_input)
|
|
|
|
| 30 |
text_input = st.text_input(label='Enter a sentence')
|
| 31 |
submit_button = st.form_submit_button(label='Submit')
|
| 32 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 33 |
# Process the text and extract the entities
|
| 34 |
if text_input:
|
| 35 |
entities = refined_model.process_text(text_input)
|