File size: 1,148 Bytes
a58aa9c
24448c1
7650c0d
0322f77
 
 
 
7650c0d
 
 
24448c1
a58aa9c
 
24448c1
a58aa9c
24448c1
a58aa9c
7650c0d
a58aa9c
7650c0d
 
 
 
 
a58aa9c
7650c0d
 
 
 
 
 
a58aa9c
 
 
7650c0d
 
a58aa9c
 
2c7d094
0322f77
7650c0d
2c7d094
0322f77
7650c0d
 
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
---
title: Course Assistant Example
emoji: 💬
colorFrom: blue
colorTo: green
sdk: gradio
sdk_version: 5.39.0
app_file: app.py
pinned: false
license: mit
short_description: Python support for cultural analytics students
---

# Course Assistant Example

Python support for cultural analytics students

## Quick Setup

### Step 1: Configure API Key (Required)
1. Get your API key from https://openrouter.ai/keys
2. In Settings → Variables and secrets
3. Add secret: `API_KEY`
4. Paste your OpenRouter API key

### Step 2: Configure HuggingFace Token (Optional)
1. Get your token from https://huggingface.co/settings/tokens
2. In Settings → Variables and secrets
3. Add secret: `HF_TOKEN`
4. Paste your HuggingFace token (needs write permissions)
5. This enables automatic configuration updates



### Step 3: Test Your Space
Your Space should now be running! Try the example prompts or ask your own questions.

## Configuration
- **Model**: openai/gpt-oss-120b
- **API Key Variable**: API_KEY
- **HF Token Variable**: HF_TOKEN (for auto-updates)
- **Access**: Public

## Support
For help, visit the HuggingFace documentation or community forums.