Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -2,8 +2,6 @@ import gradio as gr
|
|
2 |
import openai
|
3 |
import os
|
4 |
|
5 |
-
|
6 |
-
#openai.api_key = "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"
|
7 |
openai.api_key= os.environ.get("openai_key")
|
8 |
|
9 |
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"}]
|
|
|
2 |
import openai
|
3 |
import os
|
4 |
|
|
|
|
|
5 |
openai.api_key= os.environ.get("openai_key")
|
6 |
|
7 |
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"}]
|