Skip to content

schauppi/ai_42_vienna

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Project Installation Guide

This guide will help you install and run the project which is managed using Poetry, a dependency management tool for Python.

Prerequisites

Before you begin, ensure you have the following installed:

  • Python (Check the required version in the project)
  • Poetry

Create .env File

  1. Create a .env File

    • Create a file named .env in the project directory.

    • Add the following environment variables to the file:

      # .env
      # Environment variables for the project
      
      # OpenAI API Key
         OPENAI_API_KEY=""
      # SerpAPI API Key
         SERPER_API_KEY=""
    • Replace the values with your own.

    • SerpApi

    • OpenAI Api

Installation Steps

  1. Clone or Download the Project

    • Clone the project to your local machine, or download and extract the project archive.
  2. Navigate to Project Directory

    • Open your terminal or command prompt.
    • Change directory to the project folder:
      cd path/to/project
  3. Install Dependencies

    • Run the following command in the project directory:
      poetry install
    • This command installs all dependencies listed in pyproject.toml.
  4. Activate the Virtual Environment

    • Poetry creates a virtual environment for the project. Activate it with:
      poetry shell
  5. Running the Scripts

  • Pose Estimation
    poetry run pose
  • Object Detection
    poetry run object
  • Depth Estimation
    poetry run depth
  • Side by Side (Pose and Object Detection)
    poetry run combined
  • LLM Chat
    poetry run chat
  • LLM Agent
    poetry run agent

Troubleshooting

  • If you encounter installation errors, check the error messages for guidance or open an issue on the github repo.
  • Verify your Python version is compatible with the project's requirements.

Additional Commands

  • To add a new dependency:
    poetry add package-name

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages