This repository has been archived by the owner on May 13, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat[openai]: ⬆️ ignore change of python path
- Loading branch information
1 parent
45d2cef
commit 2c23700
Showing
2 changed files
with
3 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
#!/opt/homebrew/opt/[email protected]/bin/python3.11 | ||
#!/opt/homebrew/Caskroom/mambaforge/base/envs/alfred/bin/python3.11 | ||
# -*- coding: utf-8 -*- | ||
import re | ||
import sys | ||
from openai.cli import main | ||
from openai._openai_scripts import main | ||
if __name__ == '__main__': | ||
sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) | ||
sys.exit(main()) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#!/opt/homebrew/opt/[email protected]/bin/python3.11 | ||
#!/opt/homebrew/Caskroom/mambaforge/base/envs/alfred/bin/python3.11 | ||
# -*- coding: utf-8 -*- | ||
import re | ||
import sys | ||
|