This project contains three main AI applications developed using the Streamlit library: Word Correction, Object Detection, and Chatbot. Each application demonstrates a different aspect of AI and machine learning, providing a hands-on approach to deploying models with a user-friendly interface.
This project contains three main AI applications developed using the Streamlit library: Word Correction, Object Detection, and Chatbot. Each application demonstrates a different aspect of AI and machine learning, providing a hands-on approach to deploying models with a user-friendly interface.
In this project, we will focus on learning the Streamlit library, one of the code libraries open source is widely developed and applied to deploy AI applications in general.Streamlit provides effective tools for interacting with users to enter information or display information. In the following sections, we focus on developing the following basic applications:
To run these applications locally, you should follow this instruction:
git clone https://github.com/minhhoang2705/All-In-Streamlit.git
cd All-In-Streamlit
pip install -r requirements.txt
For those who want to use conda environment:
conda env create -f <environment-name>.yml
streamlit run levenshtein_distance.py
streamlit run object_detection.py
streamlit run chatbot.py
The Word Correction application takes a user-inputted word and suggests the correct spelling using the Levenshtein distance algorithm. This applications showcases natural language processing capabilities and error correction.
streamlit run levenstein_distance.py
The Object Detection application allows users to upload an image, and it will detect and highlight objects within the image using a pre-trained deep neural network model.
streamlit run object_detection.py
The Chatbot application provides an interactive chat interface for users. It uses Hugging Face’s HugChat to generate responses based on user input.
streamlit run chatbot.py