Skip to content

Latest commit

 

History

History
52 lines (42 loc) · 1.72 KB

README.md

File metadata and controls

52 lines (42 loc) · 1.72 KB

Comprehensive Popular AI Tools Playground

  • Image Generation
  • LLMs Playground
  • MultiModal Caption Generator
  • Multimodal Video Generation

Installation

  1. Navigate to the Project Directory: Move into the cloned project directory:

    cd CPAT-frontend
  2. Create a Virtual Environment (Optional but Recommended):

    Notes: Before creating a new venv, make sure you've deletec all the existing hidden venv in your directory.

    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
  3. 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.

  4. Run the Streamlit Application: You can run any of the Streamlit applications using the following command:

    streamlit run Hello.py
  5. Access the Application: Once the application is running, open your web browser and go to http://localhost:8501 to interact with the app.

  6. 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.