Author: Yabei Zeng
This project contains a Streamlit app that serves as a chatbot. It's designed to be an interactive and user-friendly interface for answering questions related to Streamlit updates and other inquiries.
To run this Streamlit app locally, follow these steps:
Ensure you have Python and pip installed on your system. Then, install the required packages using:
pip3 install -r requirements.txt
Make any necessary changes to app.py
as needed for your specific implementation.
To launch the app, use the following command:
python3 -m streamlit run app.py
Once the Streamlit app is running, you can access it at: http://localhost:8501
Note: Map your instance's port 8501 to the public internet for Streamlit to be accessible.
Update and upgrade the system packages:
sudo apt update
sudo apt-get update
sudo apt upgrade -y
Install essential tools:
sudo apt install git curl unzip tar make sudo vim wget -y
Clone your project repository:
git clone "Your-repository-URL"
cd "Your-repository-folder"
Install Python 3 pip if not already installed:
sudo apt install python3-pip
Install required Python packages:
pip3 install -r requirements.txt
Run the Streamlit app (temporary):
python3 -m streamlit run app.py
Run the Streamlit app (permanent):
nohup python3 -m streamlit run app.py &
Note: Streamlit runs on port 8501 by default.
Make sure to replace "Your-repository-URL"
and "Your-repository-folder"
with the actual URL to your Git repository and the folder name where your app.py
is located, respectively.