Update app.py
Browse files
app.py
CHANGED
|
@@ -15,8 +15,8 @@ from pydantic import BaseModel, Field
|
|
| 15 |
from typing import List, Dict
|
| 16 |
groq_api_key = os.getenv("GROQ_API_KEY")
|
| 17 |
|
| 18 |
-
|
| 19 |
-
|
| 20 |
#git remote set-url origin https://<user_name>:<token>@huggingface.co/<repo_path>
|
| 21 |
# Define a query condensing template
|
| 22 |
condense_prompt_template = PromptTemplate(
|
|
|
|
| 15 |
from typing import List, Dict
|
| 16 |
groq_api_key = os.getenv("GROQ_API_KEY")
|
| 17 |
|
| 18 |
+
if not os.getenv("GROQ_API_KEY"):
|
| 19 |
+
print("GROQ API key is missing!")
|
| 20 |
#git remote set-url origin https://<user_name>:<token>@huggingface.co/<repo_path>
|
| 21 |
# Define a query condensing template
|
| 22 |
condense_prompt_template = PromptTemplate(
|