- LLMs Playground
- Audio Recognition
- Chatbot
- Image Generation
-
Navigate to the Project Directory: Move into the cloned project directory:
cd CPAT-frontend
-
Create a Virtual Environment (Optional but Recommended): It's recommended to create a virtual environment to manage dependencies:
python -m venv venv
Activate the virtual environment:
- On Windows:
venv\Scripts\activate
- On macOS/Linux:
source venv/bin/activate
- On Windows:
-
Install Dependencies: Install the required dependencies using pip:
pip install -r requirements.txt
This will install all the necessary packages, including Streamlit and any other libraries used by the applications.
-
Run the Streamlit Application: You can run any of the Streamlit applications using the following command:
streamlit run Hello.py
-
Access the Application: Once the application is running, open your web browser and go to
http://localhost:8501
to interact with the app. -
Deploying the Application (Optional): If you want to deploy your Streamlit application to a server or a cloud platform, consider using Streamlit Cloud, Heroku, or any other hosting service. Ensure you have configured your environment variables and dependencies accordingly for production.
By following these steps, you should be able to set up and run the Streamlit applications smoothly on your local machine.