A2803 commited on
Commit
3577afb
·
verified ·
1 Parent(s): 15127e7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -8,10 +8,8 @@ ner_pipe = pipeline(
8
  )
9
 
10
  def perform_ner(text: str) -> str:
11
- """
12
- Выполняет анализ именованных сущностей (Named Entity Recognition) и форматирует результат.
13
- """
14
  text = text.strip()
 
15
  if not text:
16
  return 'Введите текст для анализа NER...'
17
 
 
8
  )
9
 
10
  def perform_ner(text: str) -> str:
 
 
 
11
  text = text.strip()
12
+ text = tezt.translate()
13
  if not text:
14
  return 'Введите текст для анализа NER...'
15