Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -9,7 +9,7 @@ os.environ["TOKENIZERS_PARALLELISM"] = "false"
|
|
| 9 |
filename = "output_topic_details.txt" # Path to the file storing chess-specific details
|
| 10 |
retrieval_model_name = 'output/sentence-transformer-finetuned/'
|
| 11 |
|
| 12 |
-
openai.api_key =
|
| 13 |
|
| 14 |
system_message = "You are a eco-friendly travel chatbot specialized in providing information on eco-friendly restaurants, hotels, and attractions in NYC, you can also provide the user with environment-themed pickup lines."
|
| 15 |
# Initial system message to set the behavior of the assistant
|
|
|
|
| 9 |
filename = "output_topic_details.txt" # Path to the file storing chess-specific details
|
| 10 |
retrieval_model_name = 'output/sentence-transformer-finetuned/'
|
| 11 |
|
| 12 |
+
openai.api_key = os.getenv("HF_TOKEN")
|
| 13 |
|
| 14 |
system_message = "You are a eco-friendly travel chatbot specialized in providing information on eco-friendly restaurants, hotels, and attractions in NYC, you can also provide the user with environment-themed pickup lines."
|
| 15 |
# Initial system message to set the behavior of the assistant
|