Last active
September 6, 2022 20:43
-
-
Save robgon-art/e4dcdba846e7f57875496cb95fb2ca03 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import openai | |
openai.api_key = os.getenv("OPENAI_API_KEY") | |
response = openai.Completion.create( | |
engine="davinci-instruct-beta-v3", | |
prompt="Create prompts to render fictional people at different ages and nationalities.\n\n1. A watercolor painting", | |
temperature=0.7, | |
max_tokens=64, | |
top_p=1, | |
frequency_penalty=0, | |
presence_penalty=0 | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment