Update main.py

This commit is contained in:
For 2023-05-16 14:46:03 +08:00 committed by GitHub
parent b8b6a11e43
commit 5a1db845dc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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