Spaces:
Runtime error
Runtime error
Commit
·
d4c46b9
1
Parent(s):
4ba46bb
Update app.py
Browse files
app.py
CHANGED
@@ -3,7 +3,7 @@ import gradio as gr
|
|
3 |
|
4 |
openai.api_key = "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"
|
5 |
|
6 |
-
messages = [{"role": "system", "content": "you are
|
7 |
|
8 |
def GPTBhai(user_input):
|
9 |
messages.append({"role": "user", "content": user_input})
|
|
|
3 |
|
4 |
openai.api_key = "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"
|
5 |
|
6 |
+
messages = [{"role": "system", "content": "you are chatGPT"}]
|
7 |
|
8 |
def GPTBhai(user_input):
|
9 |
messages.append({"role": "user", "content": user_input})
|