Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -14,7 +14,7 @@ ner_pipeline = pipeline("token-classification", model="projecte-aina/multiner_ce
|
|
14 |
|
15 |
def submit_input(text):
|
16 |
if text.strip() == "":
|
17 |
-
gr.Warning('Not possible to process an empty input')
|
18 |
return None
|
19 |
|
20 |
model_output = ner_pipeline(text)
|
|
|
14 |
|
15 |
def submit_input(text):
|
16 |
if text.strip() == "":
|
17 |
+
gr.Warning('Not possible to process an empty input.')
|
18 |
return None
|
19 |
|
20 |
model_output = ner_pipeline(text)
|