File size: 810 Bytes
28abf63
 
 
 
62bf7f1
28abf63
 
 
d50fc97
 
28abf63
d50fc97
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
---
title: Course Creator
emoji: πŸš€
license: mit
sdk: docker
pinned: false
---

# Course Creator Space

This private Space allows you to plan and generate a full course package from a chat conversation with integrated web research.

## Features

- Chat interface to collect the user's course idea
- Web research using Tavily API (or SerpAPI if configured)
- Course planning using the OpenAI Chat API
- Course package generation with a plan and source citations compressed into a zip file

## Setup

1. Add your API keys in the Space repository secrets:
   - `OPENAI_API_KEY`
   - `TAVILY_API_KEY`
   - optionally set `OPENAI_MODEL`, `TEMPERATURE`, `MAX_OUTPUT_TOKENS`
2. Install dependencies with `pip install -r requirements.txt` (done automatically on Spaces).
3. Run the Gradio app with `python app.py`.