coder160 commited on
Commit
12cee56
·
1 Parent(s): 5ab3c38
Files changed (1) hide show
  1. pages/3_Enlaces_URL.py +2 -2
pages/3_Enlaces_URL.py CHANGED
@@ -30,10 +30,10 @@ class Textia(Page):
30
  _response["resumen"] = str()
31
  elif _traducir is False and _resumir is True:
32
  _response["traduccion"] = str()
33
- _response["resumen"] = Generator.traducir(texto = _response.get('original'))
34
  elif _traducir is True and _resumir is True:
35
  _response["traduccion"] = Generator.traducir(texto = _response.get('original'))
36
- _response["resumen"] = Generator.traducir(texto = _response.get('traduccion'))
37
  _printable.append(_response)
38
  _original=str()
39
  _traduccion=str()
 
30
  _response["resumen"] = str()
31
  elif _traducir is False and _resumir is True:
32
  _response["traduccion"] = str()
33
+ _response["resumen"] = Generator.resumir(texto = _response.get('original'))
34
  elif _traducir is True and _resumir is True:
35
  _response["traduccion"] = Generator.traducir(texto = _response.get('original'))
36
+ _response["resumen"] = Generator.resumir(texto = _response.get('traduccion'))
37
  _printable.append(_response)
38
  _original=str()
39
  _traduccion=str()