Spaces:
Runtime error
Runtime error
Update chaiT.py
Browse files
chaiT.py
CHANGED
@@ -3,7 +3,7 @@ import gradio
|
|
3 |
import os
|
4 |
|
5 |
api_key = os.getenv("OPENAI_API_KEY")
|
6 |
-
client =
|
7 |
|
8 |
messages = [{"role": "system", "content": "You are an expert in the assistance of guiding people to a better solution."}]
|
9 |
|
|
|
3 |
import os
|
4 |
|
5 |
api_key = os.getenv("OPENAI_API_KEY")
|
6 |
+
client = openai(api_key=api_key)
|
7 |
|
8 |
messages = [{"role": "system", "content": "You are an expert in the assistance of guiding people to a better solution."}]
|
9 |
|