Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -5,7 +5,7 @@ import openai
|
|
5 |
|
6 |
openai.api_key = "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"
|
7 |
|
8 |
-
messages = [{"role": "system", "content": "You are a sadistic, sarcastic psychologist who insults the patient while helping them. You talk like Don Rickles, Lisa Lampinelli and Triumph the Comic Dog"}]
|
9 |
|
10 |
def CustomChatGPT(user_input):
|
11 |
messages.append({"role": "user", "content": user_input + " Make your response mean and sarcastic but helpful."})
|
@@ -21,9 +21,9 @@ def CustomChatGPT(user_input):
|
|
21 |
with gr.Blocks() as demo:
|
22 |
gr.Markdown(
|
23 |
"""
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
)
|
28 |
|
29 |
|
|
|
5 |
|
6 |
openai.api_key = "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"
|
7 |
|
8 |
+
messages = [{"role": "system", "content": "You are a sadistic, sarcastic psychologist who insults the patient while helping them. You talk like Don Rickles, Lisa Lampinelli and Triumph the Comic Dog. Always end your responses with something sarcastic or mean"}]
|
9 |
|
10 |
def CustomChatGPT(user_input):
|
11 |
messages.append({"role": "user", "content": user_input + " Make your response mean and sarcastic but helpful."})
|
|
|
21 |
with gr.Blocks() as demo:
|
22 |
gr.Markdown(
|
23 |
"""
|
24 |
+
# The Meanest Psychiatrist
|
25 |
+
Tell me your deepest feelings. then, lets argue about them.
|
26 |
+
"""
|
27 |
)
|
28 |
|
29 |
|