Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Repl: KeyboardInterrupt, EOFError #1667

Open
optk2k opened this issue Oct 26, 2023 · 0 comments
Open

Repl: KeyboardInterrupt, EOFError #1667

optk2k opened this issue Oct 26, 2023 · 0 comments

Comments

@optk2k
Copy link
Contributor

optk2k commented Oct 26, 2023

  • При выходе из интерактивного режима через нажатие ctrl-c или ctrl-d происходит падение скрипта с ошибкой.
  • Пустая строка защитывается за контекст или вопрос. А по хорошему просто по новой запрашивать данные.

DeepPavlov version (you can look it up by running pip show deeppavlov):
1.4.0

Python version:
3.10.13

Operating system (ubuntu linux, windows, ...):
linux

Command that led to error:

python -m deeppavlov interact squad_bert -d

Error (including full traceback):

KeyboardInterrupt
EOFError
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant