Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -10,7 +10,7 @@ os.environ["TOKENIZERS_PARALLELISM"] = "false"
|
|
| 10 |
filename = "output_country_details.txt" # Path to the file storing country-specific details
|
| 11 |
retrieval_model_name = 'output/sentence-transformer-finetuned/'
|
| 12 |
|
| 13 |
-
openai.api_key =
|
| 14 |
|
| 15 |
|
| 16 |
# Attempt to load the necessary models and provide feedback on success or failure
|
|
|
|
| 10 |
filename = "output_country_details.txt" # Path to the file storing country-specific details
|
| 11 |
retrieval_model_name = 'output/sentence-transformer-finetuned/'
|
| 12 |
|
| 13 |
+
openai.api_key = os.environ["OPENAI_API_KEY"]
|
| 14 |
|
| 15 |
|
| 16 |
# Attempt to load the necessary models and provide feedback on success or failure
|