project / README.md
Letsch22's picture
Update readme
77419d0

A newer version of the Gradio SDK is available: 4.36.1

Upgrade
metadata
title: Wharton Hack-AI-thon Project
colorFrom: blue
colorTo: red
sdk: gradio
sdk_version: 4.25.0
app_file: app.py
pinned: false

Quickstart Guide

  1. Clone the repo to your local machine
git clone https://huggingface.co/spaces/Hackaithon/project
  1. Set your directory to the project folder
cd project
  1. Initialize a Python virtual environment
python -m venv venv
  1. Activate the virtual environment (repeat this step every time you open the terminal)

Mac:

source venv/bin/activate

Windows:

.\venv\Scripts\activate
  1. Install requirements
pip install -r requirements.txt
  1. Create your .env file locally
cp .env.example .env
  1. Copy and paste the OpenAI API key into the .env file you just created

  2. Run the app

python app.py