Skip to content

Commit 15f52d6

Browse files
committed
Improve examples
1 parent 2f9de27 commit 15f52d6

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

README.md

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,24 +8,21 @@
88
cargo install trf
99
```
1010

11-
## Usage
11+
## Usage Examples
1212

1313
Text to speech:
1414

1515
```sh
16-
$ trf tts --help
16+
$ OPENAI_KEY="$(cat /path/to/key)"; cat myfile.txt | trf tts --output=myfile.mp3
1717
```
1818

1919
Chat:
2020

2121
```sh
22-
$ trf chat --help
22+
$ DEEPINFRA_KEY="<KEY>"; echo "hi there" | trf chat
2323
```
2424

25-
## Examples
26-
27-
- [Text to Speech](#text-to-speech-in-bash)
28-
- [Chat](#chat-in-bash)
25+
## More Examples
2926

3027
### Text to Speech in Bash
3128

0 commit comments

Comments
 (0)