mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-29 08:44:59 +00:00
hit control-c
This commit is contained in:
parent
0bf45c2cf6
commit
73bad5250b
1 changed files with 7 additions and 5 deletions
|
@ -146,12 +146,9 @@ def scrub_sensitive_info(args, text):
|
|||
def launch_gui(args):
|
||||
from aider import gui
|
||||
|
||||
target = gui.__file__
|
||||
print("Hit CONTROL-C to exit...")
|
||||
|
||||
# from streamlit.web import bootstrap
|
||||
# bootstrap.load_config_options(flag_options={})
|
||||
# cli.main_run(target, args)
|
||||
# sys.argv = ['streamlit', 'run', '--'] + args
|
||||
target = gui.__file__
|
||||
|
||||
runner = CliRunner()
|
||||
st_args = [
|
||||
|
@ -162,6 +159,11 @@ def launch_gui(args):
|
|||
]
|
||||
runner.invoke(cli.main, st_args + args)
|
||||
|
||||
# from streamlit.web import bootstrap
|
||||
# bootstrap.load_config_options(flag_options={})
|
||||
# cli.main_run(target, args)
|
||||
# sys.argv = ['streamlit', 'run', '--'] + args
|
||||
|
||||
|
||||
def main(argv=None, input=None, output=None, force_git_root=None, return_coder=False):
|
||||
if argv is None:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue