mirror of
https://github.com/f/awesome-chatgpt-prompts.git
synced 2024-12-22 07:09:39 -08:00
Update main.py
This commit is contained in:
parent
b8b6a11e43
commit
5a1db845dc
1 changed files with 1 additions and 1 deletions
2
main.py
2
main.py
|
|
@ -1,6 +1,6 @@
|
|||
import openai
|
||||
def generate_prompt(prompt):
|
||||
#You can DIY by these function
|
||||
#U can DIY by these function
|
||||
return prompt
|
||||
def openai_reply(content, apikey):
|
||||
openai.api_key = apikey
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue