Skip to content

Commit

Permalink
feat: Update API key instructions and configurations.
Browse files Browse the repository at this point in the history
- Update installation instructions in README to include setting API keys for OpenAI and Anthropic
- Add code examples for setting API keys in environment variables
- Include OPENAI_API_KEY and ANTHROPIC_API_KEY in the transcribe-me service configuration headers in the compose.example.yaml file
  • Loading branch information
johnnyhuy committed Apr 20, 2024
1 parent 32f4e6b commit 6382e50
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
13 changes: 10 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,16 @@ Tool has been tested with Python 3.12.

1. Bootstrap your current directory with the configuration file:

```bash
transcribe-me install
```
```bash
transcribe-me install
```

This command will also prompt you to enter your API keys for OpenAI and Anthropic if they are not already provided in environment variables. You can also set the API keys in environment variables:

```bash
export OPENAI_API_KEY=your_api_key
export ANTHROPIC_API_KEY=your_api_key
```

2. Place your audio files in the `input` directory (or any other directory specified in the configuration).
3. Run the application:
Expand Down
3 changes: 3 additions & 0 deletions compose.example.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ version: '3'
services:
transcribe-me:
image: ghcr.io/echohello-dev/transcribe-me:${VERSION:-latest}
environment:
- OPENAI_API_KEY
- ANTHROPIC_API_KEY
volumes:
- ./input:/app/input
- ./output:/app/output
Expand Down

0 comments on commit 6382e50

Please sign in to comment.