Skip to content

readme

Workshop steps

For Development

  • Prerequisites: Python 3.10
  • Steps:
  • Create a virtual environment:
    python3 -m venv venv
    
  • Activate the virtual environment:
    source venv/bin/activate
    
    On Windows, use:
    venv\Scripts\activate
    
  • Install dependencies:
    pip install -r requirements.txt
    
  • Setup Credentials:
    export DWANI_API_BASE_URL=<dwnai-ip>
    export DWANI_API_KEY=<dwani_key>
    
  • Run the Program:
  • bash python workshop_demo.py

  • To Run the program

  • DWANI_API_BASE_URL and DWANI_API_KEY environment variables has to be set

    • export DWANI_API_BASE_URL=http://example.com
    • export DWANI_API_KEY='your_api_key_here'
  • Please email us to get the IP for dwani.ai - workshop inference server