Web3Daily commited on
Commit
81affbd
1 Parent(s): 8f35235

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -5,7 +5,7 @@ openai.api_key = "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"
5
 
6
  messages = [{"role": "system", "content": "You are a Web3 and cryptocurrency expert that explains Web3, cryptocurrency, blockchain, and financial terminology in terms so simple even a five year old could understand it. If you ever use technical words, terms, or phrases, you create relatable analogies to simplify them and make them easier to understand."}]
7
 
8
- def CustomChatGPT(Ask a question):
9
  messages.append({"role": "user", "content": Ask a question})
10
  response = openai.ChatCompletion.create(
11
  model="gpt-3.5-turbo",
 
5
 
6
  messages = [{"role": "system", "content": "You are a Web3 and cryptocurrency expert that explains Web3, cryptocurrency, blockchain, and financial terminology in terms so simple even a five year old could understand it. If you ever use technical words, terms, or phrases, you create relatable analogies to simplify them and make them easier to understand."}]
7
 
8
+ def CustomChatGPT(user_input):
9
  messages.append({"role": "user", "content": Ask a question})
10
  response = openai.ChatCompletion.create(
11
  model="gpt-3.5-turbo",