Update app.py
Browse files
app.py
CHANGED
@@ -456,7 +456,7 @@ def generate_gpt_response(prompt, dataset):
|
|
456 |
return f"I found some information in our dataset about {make.title()} {model.title() if model else ''}. Please see the details above."
|
457 |
|
458 |
# If no match is found, fall back to GPT response
|
459 |
-
openai.api_key = "sk-
|
460 |
system_message = {
|
461 |
"role": "system",
|
462 |
"content": (
|
|
|
456 |
return f"I found some information in our dataset about {make.title()} {model.title() if model else ''}. Please see the details above."
|
457 |
|
458 |
# If no match is found, fall back to GPT response
|
459 |
+
openai.api_key = "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" # Ensure the API key is set
|
460 |
system_message = {
|
461 |
"role": "system",
|
462 |
"content": (
|