Spaces:
Runtime error
Runtime error
Commit
·
a565320
1
Parent(s):
c2e72a9
Update app.py
Browse files
app.py
CHANGED
@@ -5,7 +5,7 @@ openai.api_key = "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"
|
|
5 |
|
6 |
messages = [{"role": "system", "content": "you are a brother to all"}]
|
7 |
|
8 |
-
def
|
9 |
messages.append({"role": "user", "content": user_input})
|
10 |
response = openai.ChatCompletion.create(
|
11 |
model = "gpt-3.5-turbo",
|
|
|
5 |
|
6 |
messages = [{"role": "system", "content": "you are a brother to all"}]
|
7 |
|
8 |
+
def GPTBhai(user_input):
|
9 |
messages.append({"role": "user", "content": user_input})
|
10 |
response = openai.ChatCompletion.create(
|
11 |
model = "gpt-3.5-turbo",
|