Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -198,8 +198,7 @@ def retrieval(query, question_corpus, seg_question_corpus, models, top_n = 15, t
|
|
198 |
|
199 |
client = OpenAI(
|
200 |
# defaults to os.environ.get("OPENAI_API_KEY")
|
201 |
-
api_key=
|
202 |
-
)
|
203 |
|
204 |
def chat_gpt(prompt):
|
205 |
response = client.chat.completions.create(
|
|
|
198 |
|
199 |
client = OpenAI(
|
200 |
# defaults to os.environ.get("OPENAI_API_KEY")
|
201 |
+
api_key= <API_key>,)
|
|
|
202 |
|
203 |
def chat_gpt(prompt):
|
204 |
response = client.chat.completions.create(
|