Skip to content

Commit c41ff9b

Browse files
committed
format edits
1 parent 8607a5f commit c41ff9b

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

articles/ai-services/openai/includes/dall-e-python.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,9 @@ pip install pillow
5757

5858
## Create a new Python application
5959

60-
Create a new Python file named **quickstart.py**. Open the new file in your preferred editor or IDE.
60+
Create a new Python file named _quickstart.py_. Open the new file in your preferred editor or IDE.
6161

62-
1. Replace the contents of quickstart.py with the following code. Enter your endpoint URL and key in the appropriate fields. Change the value of `prompt` to your preferred text.
62+
1. Replace the contents of _quickstart.py_ with the following code. Enter your endpoint URL and key in the appropriate fields. Change the value of `prompt` to your preferred text.
6363

6464
```python
6565
import openai
@@ -115,7 +115,7 @@ Create a new Python file named **quickstart.py**. Open the new file in your pref
115115

116116
## Output
117117

118-
Azure OpenAI stores the output image in the **generated_image.png** file in your specified directory. The script also displays the image in your default image viewer.
118+
Azure OpenAI stores the output image in the _generated_image.png_ file in your specified directory. The script also displays the image in your default image viewer.
119119

120120
The image generation APIs come with a content moderation filter. If the service recognizes your prompt as harmful content, it doesn't generate an image. For more information, see [Content filtering](../concepts/content-filter.md).
121121

articles/ai-services/openai/includes/dall-e-rest.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,9 @@ Go to your resource in the Azure portal. On the navigation pane, select **Keys a
4242

4343
## Create a new Python application
4444

45-
Create a new Python file named **quickstart.py**. Open the new file in your preferred editor or IDE.
45+
Create a new Python file named _quickstart.py_. Open the new file in your preferred editor or IDE.
4646

47-
1. Replace the contents of quickstart.py with the following code. Enter your endpoint URL and key in the appropriate fields. Change the value of `prompt` to your preferred text.
47+
1. Replace the contents of _quickstart.py_ with the following code. Enter your endpoint URL and key in the appropriate fields. Change the value of `prompt` to your preferred text.
4848

4949
```python
5050
import requests

0 commit comments

Comments
 (0)