career-chat / README.md
dewaldabrie's picture
Upload folder using huggingface_hub
031b766 verified

A newer version of the Gradio SDK is available: 6.13.0

Upgrade
metadata
title: career-chat
app_file: app.py
sdk: gradio
sdk_version: 5.39.0

Career Chat

This is a Gradio chat application that uses OpenAI to answer questions about Dewald Abrie's career, background, skills, and experience. It's designed to represent Dewald on his website by providing professional and engaging responses based on his LinkedIn profile and a summary of his background.

Setup

  1. Install dependencies:

    uv sync
    

    or

    pip install -r requirements.txt
    
  2. Set up environment variables: Create a .env file with the following variables:

    • OPENROUTER_API_BASE: The base URL for the OpenRouter API
    • OPENROUTER_API_KEY: Your OpenRouter API key
    • TOOL_USE_MODEL_LIGHT: The model to use for tool use (e.g., gpt-4o-mini)
    • NTFY_TOPIC: The topic for ntfy notifications
  3. Run the application:

    python app.py
    

Deployment

To deploy the application using Gradio:

uv run dotenv -f .env run -- uv run gradio deploy