mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2026-07-10 01:18:32 +00:00
screen reader warning
This commit is contained in:
parent
c6b32ce1f2
commit
7dbe82bb47
1 changed files with 6 additions and 1 deletions
|
|
@ -8706,6 +8706,11 @@ def show_gui():
|
|||
nozenity_var.trace_add("write", togglezenity)
|
||||
|
||||
extra_terminal_process = None
|
||||
def stdout_has_terminal():
|
||||
try:
|
||||
return bool(sys.stdout and sys.stdout.isatty())
|
||||
except Exception:
|
||||
return False
|
||||
def showtermlogs():
|
||||
nonlocal extra_terminal_process
|
||||
try:
|
||||
|
|
@ -10331,7 +10336,7 @@ def main(launch_args, default_args):
|
|||
if args.showgui or not has_valid_model():
|
||||
#give them a chance to pick a file
|
||||
print("For command line arguments, please run --help in the terminal.")
|
||||
print("The GUI mode is not accessible to screen readers.")
|
||||
print("Note: The GUI mode is not accessible to screen readers.")
|
||||
print("***")
|
||||
try:
|
||||
show_gui()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue