Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updating branch with new changes #257

Merged
merged 32 commits into from
Oct 31, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
ed1f448
created requirement file for the Image Classification Project
Davisonyeas Oct 25, 2023
c94a13d
Add files for project 3 deployment
awojidetola Oct 29, 2023
1ead04c
Merge pull request #247 from mlsanigeria/leaderboard
Sammybams Oct 29, 2023
9fcab91
add model and scaler joblib files
awojidetola Oct 29, 2023
bbbbfd9
update notebook to include joblib files
awojidetola Oct 29, 2023
c0091e4
add file for model deployment to streamlit
awojidetola Oct 29, 2023
2f93319
documentation of deployment
awojidetola Oct 29, 2023
edd27b7
fixed typo
awojidetola Oct 29, 2023
df88475
update readme
awojidetola Oct 29, 2023
adc578d
Delete Project_3/regression_model.joblib
awojidetola Oct 29, 2023
468b3b3
Delete Project_3/scaler.joblib
awojidetola Oct 29, 2023
29d3435
Delete Project_3/streamlit_app.py
awojidetola Oct 29, 2023
7a17c9a
Merge pull request #248 from awojidetola/main
Sammybams Oct 29, 2023
58331cc
Delete Project_3/GPA_Prediction_awojidetola/regression_model.joblib
Sammybams Oct 29, 2023
f443c75
Delete Project_3/GPA_Prediction_awojidetola/scaler.joblib
Sammybams Oct 29, 2023
3edefd9
Update CONTRIBUTING.md
Odeyiany2 Oct 30, 2023
e6191df
Merge pull request #1 from mlsanigeria/main
Davisonyeas Oct 30, 2023
8b6c9aa
Built new image classification model based on new set of images
Davisonyeas Oct 30, 2023
2eebf3d
Update whatsapp_communities.md
armaf002 Oct 30, 2023
7fc6f18
Modularization of the web app to utilize the new model
Davisonyeas Oct 30, 2023
2650574
Modularization of the web app to utilize the new model
Davisonyeas Oct 30, 2023
445f1bb
Upload CGPA prediction folder
armaf002 Oct 30, 2023
c369222
Merge pull request #250 from Odeyiany2/patch-2
Sammybams Oct 30, 2023
1c8c66a
Merge pull request #252 from armaf002/armaf
Sammybams Oct 30, 2023
50c543a
Merge pull request #253 from armaf002/armaf_
Sammybams Oct 30, 2023
2c872cd
Delete Project_1/requirements.txt
Sammybams Oct 31, 2023
de6d750
Delete Project_1/Image_Classification_ayoni02/Image_Classification.ipynb
Sammybams Oct 31, 2023
f10d0d3
Delete Project_1/Image_Classification_VictorUmunna/Image_Classificati…
Sammybams Oct 31, 2023
bc0b6c8
Built new image classification model based on new set of images and w…
Davisonyeas Oct 31, 2023
e6ef761
Merge pull request #256 from Davisonyeas/main
Sammybams Oct 31, 2023
5893598
Restored ayoni02 modelling
Sammybams Oct 31, 2023
b224025
Restored VIctorUmunna notebook
Sammybams Oct 31, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,5 @@ venv
/AI-Hacktober-MLSA
pyvenv.cfg
lib64
*.DS_Store
*.DS_Store
.ipynb_checkpoints
1 change: 1 addition & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -153,3 +153,4 @@ If you have any questions or need assistance, please feel free to reach out to u
3. [How to Translate Text with Azure AI Translator in Python](https://learn.microsoft.com/en-us/azure/ai-services/translator/quickstart-text-rest-api?tabs=python#translate-text?wt.mc_id=studentamb_217190)
4. [Azure Speech Service documentation](https://learn.microsoft.com/en-us/azure/ai-services/speech-service/?wt.mc_id=studentamb_217190)
5. [Azure AI Translator documentation](https://learn.microsoft.com/en-us/azure/ai-services/translator/?wt.mc_id=studentamb_217190)
6. [Getting Started: Multilingual Speech Transcription and Translation Solution with Azure AI](https://youtu.be/ikNPMomeZKs?si=90exV6Kd5xbR46QE)

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,13 +1,18 @@
# Model Deployment using Streamlit

# import libraries
import cv2
import numpy as np
import pandas as pd
from PIL import Image
import streamlit as st
import tensorflow as tf

st.title("Image Classification Web App")

# Load saved image classification model
model = tf.keras.models.load_model("Image_Classification_Davisonyeas/model")

# Function to Read and Manupilate Images
def load_image(img):
im = Image.open(img)
Expand Down
Loading
Loading