AI generate image

  • 1. Get Started

    • register on replicate--> Replicate

    • copy your api token

    • create new package on project --> path: .streamlit/secrets.toml

    • Add your token in secrets.toml fayil :

      REPLICATE_API_TOKEN = "your token"
  • 2. Runing

    • shell

      • configurations eviroments:

        python -m venv env
        • windows

        env\Scripts\activate 
        • Linux

        source env/bin/actiate
      • install modules

        pip install -r requirements.txt
      • Run

        streamlit run main.py