Skip to content

Commit

Permalink
Merge pull request #11 from wwakabobik/0.2
Browse files Browse the repository at this point in the history
0.2
  • Loading branch information
wwakabobik authored Oct 14, 2023
2 parents e33a9be + f5a4c95 commit 3aa6ae6
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 14 deletions.
1 change: 0 additions & 1 deletion .github/workflows/linters.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ jobs:
id: mypy
continue-on-error: true
run: |
find . -name '*.py'
mkdir -p .mypy_cache
changed_files=$(git diff --diff-filter=d --name-only $(git merge-base HEAD origin/master) HEAD | grep '\.py$') || true
echo $changed_files
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/master_linters.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ jobs:
continue-on-error: true
run: |
mkdir -p .mypy_cache
find . -name '*.py'
PYTHONPATH=. mypy $(find . -name '*.py') --install-types --non-interactive --ignore-missing-imports --exclude __main__.py
- name: Check code with flake8
id: flake8
Expand Down
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,5 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Added
- JSON dumper for chats and settings
- Added detailed readme
- Added detailed readme
- Added logger
9 changes: 0 additions & 9 deletions TODO.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,8 @@
ChatGPT:
- Add support for several Completions at same time
- Add synchronous library (requests)
- Add logging
- Add history save & load (pickle, database, etc.)
- Split up GPT class into several classes and files (transcript, translate, completion, etc.)
- Add statistics logging

DALL-E2:
- Add synchronous library (requests)
- Review, remove and refactor PIL methods
- Add logging
- Review & refactor upload methods

General:
- Add README.md
- Add typings in according to mypy
4 changes: 2 additions & 2 deletions __main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@
"""

# Engines
from src.openai_api.chatgpt import ChatGPT # pylint: disable=unused-import
from src.openai_api.dalle import DALLE # pylint: disable=unused-import
from .src.openai_api.chatgpt import ChatGPT # pylint: disable=unused-import
from .src.openai_api.dalle import DALLE # pylint: disable=unused-import

0 comments on commit 3aa6ae6

Please sign in to comment.