From b360d540511727023764c44b393675373650da5d Mon Sep 17 00:00:00 2001 From: Karthik D Date: Mon, 21 Oct 2024 18:58:59 +0530 Subject: [PATCH] addedApp --- .github/workflows/docker-image.yml | 1 + .idea/workspace.xml | 77 ++++++++++++++++++++++++--- Dockerfile | 1 + app.py | 1 + models/logistic_regression_model.pkl | Bin 0 -> 887007 bytes models/tfidf_vectorizer.pkl | Bin 0 -> 2432245 bytes requirements.txt | 1 + static/styles.css | 1 + templates/index.html | 1 + 9 files changed, 75 insertions(+), 8 deletions(-) create mode 100644 .github/workflows/docker-image.yml create mode 100644 Dockerfile create mode 100644 app.py create mode 100644 models/logistic_regression_model.pkl create mode 100644 models/tfidf_vectorizer.pkl create mode 100644 requirements.txt create mode 100644 static/styles.css create mode 100644 templates/index.html diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml new file mode 100644 index 0000000..bd15158 --- /dev/null +++ b/.github/workflows/docker-image.yml @@ -0,0 +1 @@ +name: Docker Image CI on: push: branches: [ "main" ] pull_request: branches: [ "main" ] jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - name: Build the Docker image run: docker build . --file Dockerfile --tag my-image-name:$(date +%s) \ No newline at end of file diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 1ffc492..afc8ac6 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -6,8 +6,6 @@ - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -77,7 +128,16 @@ - + + + + + + + + + + @@ -89,10 +149,11 @@


\ No newline at end of file