Skip to content

Commit 80fd3ce

Browse files
authored
Update example run code in README
1 parent a899f28 commit 80fd3ce

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

README.md

+17-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,23 @@ Our program relies on certain APIs that require authentication in order to use i
2121
Create a file named `.env` (don't forget the period) in your project directory, and fill this with the correct API keys as described on our [wiki page about this](https://github.com/korymath/talk-generator/wiki/Setting-Up-API-Keys).
2222

2323
```sh
24-
source setup.sh
24+
# Make a new Python 3 virtual environment
25+
python3 -m venv venv
26+
27+
# Activate the virtual environment
28+
source venv/bin/activate
29+
30+
# Upgrade pip and install requirements
31+
pip install --upgrade pip
32+
python3 -m pip install -r requirements.txt
33+
34+
# Download NLTK dependencies
35+
python3 -m nltk.downloader punkt averaged_perceptron_tagger
36+
37+
# Install the Talk Generator
38+
pip install -e .
39+
40+
# Generate a 10 slide talk with topic peanuts
2541
talkgenerator --topic 'peanuts' --num_slides 10
2642
```
2743

0 commit comments

Comments
 (0)