Skip to content

Commit

Permalink
feat: add new classifier
Browse files Browse the repository at this point in the history
  • Loading branch information
solygambas committed Jan 9, 2024
1 parent 069e39c commit 9ed5834
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/github-actions.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Run unit tests for your Python application

name: C4W3-Ungraded-Lab
name: GitHub Actions Lab

# Controls when the action will run.
on:
Expand Down
3 changes: 2 additions & 1 deletion 38-github-actions/app/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
app = FastAPI(title="Predicting Wine Class with batching")

# Open classifier in global scope
with open("models/wine.pkl", "rb") as file:
# with open("models/wine.pkl", "rb") as file:
with open("models/wine-95.pkl", "rb") as file:
clf = pickle.load(file)


Expand Down

0 comments on commit 9ed5834

Please sign in to comment.