mirror of
https://github.com/xtekky/gpt4free.git
synced 2025-12-06 02:30:41 -08:00
Refactor build scripts and API to enhance model handling and improve timeout functionality
This commit is contained in:
parent
1edd0fff17
commit
25b35ddf99
8 changed files with 131 additions and 117 deletions
|
|
@ -43,22 +43,21 @@ case "${PLATFORM}" in
|
|||
;;
|
||||
"darwin"|"macos")
|
||||
OUTPUT_NAME="g4f-macos-${VERSION}-${ARCH}"
|
||||
NUITKA_ARGS="--macos-create-app-bundle"
|
||||
NUITKA_ARGS="--macos-create-app-bundle --onefile"
|
||||
;;
|
||||
"linux")
|
||||
OUTPUT_NAME="g4f-linux-${VERSION}-${ARCH}"
|
||||
NUITKA_ARGS=""
|
||||
NUITKA_ARGS="--onefile"
|
||||
;;
|
||||
*)
|
||||
OUTPUT_NAME="g4f-${PLATFORM}-${VERSION}-${ARCH}"
|
||||
NUITKA_ARGS=""
|
||||
NUITKA_ARGS="--onefile"
|
||||
;;
|
||||
esac
|
||||
|
||||
# Basic Nuitka arguments
|
||||
NUITKA_COMMON_ARGS="
|
||||
--standalone
|
||||
--onefile
|
||||
--output-filename=${OUTPUT_NAME}
|
||||
--output-dir=${OUTPUT_DIR}
|
||||
--remove-output
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue