Spaces:
Sleeping
Sleeping
Rename app_12.py to app_13.py
Browse files- app_12.py → app_13.py +1 -1
app_12.py → app_13.py
RENAMED
@@ -219,7 +219,7 @@ input_text = st.text_area("Enter your text here:", height=300)
|
|
219 |
beam_search = st.radio("Enable Beam Search?", ('No', 'Yes')) == 'Yes'
|
220 |
|
221 |
if st.button("Add Argument Tags"):
|
222 |
-
if
|
223 |
tagged_sentence1, tagged_sentence2 = extract_arguments(input_text, tokenizer, model, beam_search=True)
|
224 |
|
225 |
st.write("**Tagged Sentence_1:**")
|
|
|
219 |
beam_search = st.radio("Enable Beam Search?", ('No', 'Yes')) == 'Yes'
|
220 |
|
221 |
if st.button("Add Argument Tags"):
|
222 |
+
if input_text:
|
223 |
tagged_sentence1, tagged_sentence2 = extract_arguments(input_text, tokenizer, model, beam_search=True)
|
224 |
|
225 |
st.write("**Tagged Sentence_1:**")
|