Update app.py
Browse files
app.py
CHANGED
|
@@ -74,7 +74,7 @@ def entity_comb(output):
|
|
| 74 |
|
| 75 |
Run_Button = st.button("Run", key=None)
|
| 76 |
|
| 77 |
-
if Run_Button and input_text
|
| 78 |
|
| 79 |
ner_pipeline = setModel(model_checkpoint, aggregation)
|
| 80 |
output = ner_pipeline(input_text)
|
|
|
|
| 74 |
|
| 75 |
Run_Button = st.button("Run", key=None)
|
| 76 |
|
| 77 |
+
if Run_Button and input_text != "":
|
| 78 |
|
| 79 |
ner_pipeline = setModel(model_checkpoint, aggregation)
|
| 80 |
output = ner_pipeline(input_text)
|