mirror of
https://github.com/xtekky/gpt4free.git
synced 2025-12-06 02:30:41 -08:00
Update build
This commit is contained in:
parent
612e1faec5
commit
ae985be2eb
7 changed files with 35 additions and 69 deletions
|
|
@ -1,9 +1,4 @@
|
|||
from __future__ import annotations
|
||||
from g4f.cli import main
|
||||
|
||||
from .cli import get_api_parser, run_api_args
|
||||
|
||||
parser = get_api_parser()
|
||||
args = parser.parse_args()
|
||||
if args.gui is None:
|
||||
args.gui = True
|
||||
run_api_args(args)
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
Loading…
Add table
Add a link
Reference in a new issue