Welcome to my first Streamlit Project, a suite of 3 simple applications developed using Python. This project demonstrates the versatility and capability of Streamlit in deploying interactive web applications. The applications included in this project are:
- Word Correction: A spelling correction tool that utilizes the Levenshtein distance algorithm to find and correct misspelled words by suggesting the closest match from a pre-defined dictionary.
- Object Detection: An application that uses a Deep Neural Network (DNN) model from the OpenCV library to detect and highlight objects in images.
- A simple Chatbot: A simple yet effective chatbot built using HugChat, designed to provide interactive conversations and assist users with various queries.
-
Clone the repository:
git clone https://github.com/hannguyen2880/streamlit-project.git cd streamlit-project
-
(Optional) Create and activate a virtual environment:
For macOS and Linux:
python3 -m venv .venv source .venv/bin/activate
For Windows:
python -m venv .venv .venv\Scripts\activate
-
Intall the required dependencies:
pip install -r requirements.txt
Once everything is ready, you can launch the application by running one of the following commands based on the application you want to start:
-
Correct Word:
streamlit run src/levelshtein_distance.py
-
Object Detection:
streamlit run src/object-detection.py
-
Chatbot:
streamlit run src/chatbot.py