Skip to content

Commit 1bef14f

Browse files
Shaokai/add simple notebook (#23)
* Added simple notebook example * A bit clean up and allow gitignore to take notebook * Moved the notebook. Some cleanup * add codespell config * Update codespell.yml * Update codespell.yml * Update simple_amadeusGPT_demo.ipynb * Update simple_amadeusGPT_demo.ipynb --------- Co-authored-by: Mackenzie Mathis <[email protected]>
1 parent 5068b4f commit 1bef14f

File tree

5 files changed

+468
-2
lines changed

5 files changed

+468
-2
lines changed

.codespellrc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[DEFAULT]
2+
skip = *.png,*.jpg,*.jpeg,*.gif,*.bmp,*.tiff,*.ico

.github/workflows/codespell.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,6 @@ jobs:
2020
uses: actions/checkout@v3
2121
- name: Codespell
2222
uses: codespell-project/actions-codespell@v2
23+
with:
24+
args: "--skip=*.ipynb"
25+
config_file: .codespellrc

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ __pycache__/
1818
# Binary files
1919
*.jpg
2020
*.jpeg
21-
*.ipynb
2221
*.svg
2322
*.mp4
2423

amadeusgpt/utils.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,6 @@ def validate_openai_api_key(key):
282282
except openai.error.AuthenticationError:
283283
return False
284284

285-
286285
def flatten_tuple(t):
287286
"""
288287
Used to handle function returns

examples/simple_amadeusGPT_demo.ipynb

Lines changed: 463 additions & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)