Update app.py
Browse files
app.py
CHANGED
@@ -12,18 +12,26 @@ from azure.storage.fileshare import ShareServiceClient
|
|
12 |
|
13 |
import re
|
14 |
import json
|
15 |
-
|
16 |
# ClimateQ&A imports
|
17 |
from climateqa.engine.llm import get_llm
|
|
|
18 |
# from climateqa.chains import load_qa_chain_with_docs,load_qa_chain_with_text
|
19 |
# from climateqa.chains import load_reformulation_chain
|
20 |
from climateqa.engine.rag import make_rag_chain
|
|
|
21 |
from climateqa.engine.vectorstore import get_pinecone_vectorstore
|
|
|
22 |
from climateqa.engine.retriever import ClimateQARetriever
|
|
|
23 |
from climateqa.engine.embeddings import get_embeddings_function
|
|
|
24 |
from climateqa.engine.prompts import audience_prompts
|
|
|
25 |
from climateqa.sample_questions import QUESTIONS
|
|
|
26 |
from climateqa.constants import POSSIBLE_REPORTS
|
|
|
27 |
from climateqa.utils import get_image_from_azure_blob_storage
|
28 |
|
29 |
# Load environment variables in local mode
|
|
|
12 |
|
13 |
import re
|
14 |
import json
|
15 |
+
print("1")
|
16 |
# ClimateQ&A imports
|
17 |
from climateqa.engine.llm import get_llm
|
18 |
+
print("2")
|
19 |
# from climateqa.chains import load_qa_chain_with_docs,load_qa_chain_with_text
|
20 |
# from climateqa.chains import load_reformulation_chain
|
21 |
from climateqa.engine.rag import make_rag_chain
|
22 |
+
print("3")
|
23 |
from climateqa.engine.vectorstore import get_pinecone_vectorstore
|
24 |
+
print("4")
|
25 |
from climateqa.engine.retriever import ClimateQARetriever
|
26 |
+
print("5")
|
27 |
from climateqa.engine.embeddings import get_embeddings_function
|
28 |
+
print("6")
|
29 |
from climateqa.engine.prompts import audience_prompts
|
30 |
+
print("7")
|
31 |
from climateqa.sample_questions import QUESTIONS
|
32 |
+
print("8")
|
33 |
from climateqa.constants import POSSIBLE_REPORTS
|
34 |
+
print("9")
|
35 |
from climateqa.utils import get_image_from_azure_blob_storage
|
36 |
|
37 |
# Load environment variables in local mode
|