Spaces:
Sleeping
Sleeping
Commit
·
f1599f0
1
Parent(s):
1639a3e
should work now
Browse files- chatbot.py +1 -5
chatbot.py
CHANGED
|
@@ -1,11 +1,9 @@
|
|
| 1 |
import openai
|
| 2 |
-
import config
|
| 3 |
import gradio as gr
|
|
|
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
-
|
| 8 |
-
# openai.api_key = "your openAI api key here" or
|
| 9 |
openai.api_key = config.OPENAI_API_KEY
|
| 10 |
|
| 11 |
messages = [
|
|
@@ -48,8 +46,6 @@ Do you ever worry that your best friend doesn't really care for you?
|
|
| 48 |
Are you afraid that your best friend may abandon you?
|
| 49 |
Do you worry that your best friend won't care about you as much as you care about them?
|
| 50 |
|
| 51 |
-
|
| 52 |
-
|
| 53 |
"""}
|
| 54 |
]
|
| 55 |
|
|
|
|
| 1 |
import openai
|
|
|
|
| 2 |
import gradio as gr
|
| 3 |
+
import config
|
| 4 |
|
| 5 |
|
| 6 |
|
|
|
|
|
|
|
| 7 |
openai.api_key = config.OPENAI_API_KEY
|
| 8 |
|
| 9 |
messages = [
|
|
|
|
| 46 |
Are you afraid that your best friend may abandon you?
|
| 47 |
Do you worry that your best friend won't care about you as much as you care about them?
|
| 48 |
|
|
|
|
|
|
|
| 49 |
"""}
|
| 50 |
]
|
| 51 |
|