Spaces:
Sleeping
Sleeping
forgot client
Browse files
app.py
CHANGED
@@ -4,8 +4,7 @@ import os
|
|
4 |
import os
|
5 |
|
6 |
api_key = os.getenv("OPENAI_APIKEY")
|
7 |
-
|
8 |
-
|
9 |
|
10 |
def chat(message, history):
|
11 |
history_openai_format = []
|
|
|
4 |
import os
|
5 |
|
6 |
api_key = os.getenv("OPENAI_APIKEY")
|
7 |
+
client = OpenAI(api_key=api_key)
|
|
|
8 |
|
9 |
def chat(message, history):
|
10 |
history_openai_format = []
|