fecia commited on
Commit
7711f86
·
verified ·
1 Parent(s): 54b9d20

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -44,7 +44,7 @@ def bert_tokenize(text, preprocessor):
44
  if not isinstance(text, str): text = str(text)
45
 
46
  # Ejecutar el preprocesador
47
- out¡ = preprocessor(tf.constant([text.lower()]))
48
 
49
  # Extraer y procesar IDs y máscaras
50
  ids = out['input_word_ids'].numpy().astype(np.int32)
 
44
  if not isinstance(text, str): text = str(text)
45
 
46
  # Ejecutar el preprocesador
47
+ out = preprocessor(tf.constant([text.lower()]))
48
 
49
  # Extraer y procesar IDs y máscaras
50
  ids = out['input_word_ids'].numpy().astype(np.int32)