Skip to content

Commit

Permalink
Merge pull request #17 from NembotJules/main
Browse files Browse the repository at this point in the history
Updated the Gradio Input command
  • Loading branch information
jimdowling authored Sep 24, 2024
2 parents 01cbcd4 + ca2a597 commit fda768d
Show file tree
Hide file tree
Showing 12 changed files with 1,344 additions and 207 deletions.
20 changes: 16 additions & 4 deletions .github/workflows/features-and-predictions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ name: iris-feature-and-prediction-pipelines

on:
workflow_dispatch:
# schedule:
# - cron: '11 11 * * *'
schedule:
- cron: '00 00 * * *'

jobs:
test_schedule:
Expand All @@ -13,9 +13,21 @@ jobs:
uses: actions/checkout@v2

- name: setup python
uses: actions/setup-python@v2
uses: actions/setup-python@v3
with:
python-version: '3.8.1'
python-version: '3.10.9'

- name: Install Jupyter
run: |
python -m pip install jupyter
- name: List Jupyter Kernels
run: jupyter kernelspec list

- name: Install scikit-learn
run: python -m pip install scikit-learn==1.2.1



- name: install python packages
run: |
Expand Down
91 changes: 91 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
name: iris-feature-and-prediction-pipelines

on:
workflow_dispatch:
schedule:
- cron: '00 00 * * *'

jobs:
test_schedule:
runs-on: ubuntu-latest
steps:
- name: checkout repo content
uses: actions/checkout@v2

- name: setup python
uses: actions/setup-python@v3
with:
python-version: '3.10.9'

- name: Install Jupyter
run: |
python -m pip install jupyter
- name: install python packages
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: execute python workflows from bash script
env:
HOPSWORKS_API_KEY: ${{ secrets.HOPSWORKS_API_KEY }}
run: ./src/01-module/scripts/run-feature-and-prediction-pipelines.sh

- name: publish github pages
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: "Automated graph published"

# Optional. Local and remote branch name where commit is going to be pushed
# to. Defaults to the current branch.
# You might need to set `create_branch: true` if the branch does not exist.
branch: main

# Optional. Options used by `git-commit`.
# See https://git-scm.com/docs/git-commit#_options
commit_options: '--no-verify --signoff'

# Optional glob pattern of files which should be added to the commit
# Defaults to all (.)
file_pattern: assets/latest_iris.png assets/actual_iris.png assets/confusion_matrix.png assets/df_recent.png

# Optional. Local file path to the repository.
# Defaults to the root of the repository.
repository: .

# Optional commit user and author settings
commit_user_name: My GitHub Actions Bot # defaults to "github-actions[bot]"
commit_user_email: [email protected] # defaults to "github-actions[bot]@users.noreply.github.com"
commit_author: Author <[email protected]> # defaults to author of the commit that triggered the run

# Optional. Tag name being created in the local repository and
# pushed to remote repository and defined branch.
#tagging_message: 'v1.0.0'

# Optional. Option used by `git-status` to determine if the repository is
# dirty. See https://git-scm.com/docs/git-status#_options
#status_options: '--untracked-files=no'

# Optional. Options used by `git-add`.
# See https://git-scm.com/docs/git-add#_options
#add_options: '-u'

# Optional. Options used by `git-push`.
# See https://git-scm.com/docs/git-push#_options
#push_options: '--force'

# Optional. Disable dirty check and always try to create a commit and push
skip_dirty_check: true

# Optional. Skip internal call to `git fetch`
skip_fetch: false

# Optional. Skip internal call to `git checkout`
skip_checkout: false

# Optional. Prevents the shell from expanding filenames.
# Details: https://www.gnu.org/software/bash/manual/html_node/Filename-Expansion.html
disable_globbing: true

# Optional. Create given branch name in local and remote repository.
create_branch: false
Binary file modified assets/confusion_matrix.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/df_recent.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed src/01-module/assets/confusion-matrix.png
Binary file not shown.
Binary file added src/01-module/assets/confusion_matrix.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit fda768d

Please sign in to comment.