Update main.py
This commit is contained in:
parent
b8b6a11e43
commit
5a1db845dc
2
main.py
2
main.py
|
@ -1,6 +1,6 @@
|
||||||
import openai
|
import openai
|
||||||
def generate_prompt(prompt):
|
def generate_prompt(prompt):
|
||||||
#You can DIY by these function
|
#U can DIY by these function
|
||||||
return prompt
|
return prompt
|
||||||
def openai_reply(content, apikey):
|
def openai_reply(content, apikey):
|
||||||
openai.api_key = apikey
|
openai.api_key = apikey
|
||||||
|
|
Loading…
Reference in New Issue