Skip to content

Commit 7059ff9

Browse files
authored
add pip requests to lab 5
1 parent c252ed7 commit 7059ff9

File tree

1 file changed

+16
-8
lines changed

1 file changed

+16
-8
lines changed

Instructions/Exercises/05-generate-images.md

Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -94,14 +94,22 @@ Now that you've reviewed the code, it's time to run it and generate some images.
9494

9595
1. Right-click the **CSharp** or **Python** folder containing your code files and open an integrated terminal. Then enter the appropriate command to run your application:
9696

97-
- **C#**: `dotnet run`
98-
- **Python**: `python generate-image.py`
99-
100-
2. When prompted, enter a description for an image. For example, *A giraffe flying a kite*.
101-
102-
3. Wait for the image to be generated - a hyperlink will be displayed in the terminal pane. Then select the hyperlink to open a new browser tab and review the image that was generated.
103-
104-
4. Close the browser tab containing the generated image and re-run the app to generate a new image with a different prompt.
97+
**C#**
98+
```
99+
dotnet run
100+
```
101+
102+
**Python**
103+
```
104+
pip install requests
105+
python generate-image.py
106+
```
107+
108+
3. When prompted, enter a description for an image. For example, *A giraffe flying a kite*.
109+
110+
4. Wait for the image to be generated - a hyperlink will be displayed in the terminal pane. Then select the hyperlink to open a new browser tab and review the image that was generated.
111+
112+
5. Close the browser tab containing the generated image and re-run the app to generate a new image with a different prompt.
105113

106114
## Clean up
107115

0 commit comments

Comments
 (0)