Update app.py
Browse files
app.py
CHANGED
@@ -14,6 +14,9 @@ from langchain.document_loaders import PyPDFLoader
|
|
14 |
|
15 |
|
16 |
import os
|
|
|
|
|
|
|
17 |
os.environ["OPENAI_API_TYPE"] = "azure"
|
18 |
os.environ["OPENAI_API_VERSION"] = "2023-05-15"
|
19 |
os.environ["OPENAI_API_BASE"] = "https://cog-mnjbf5r4o6b3e.openai.azure.com/"
|
@@ -32,7 +35,6 @@ st.title("Wipro CSRD AI 1")
|
|
32 |
st.write("Step 1: Summary of your selected section of CSRD... Sections in this are enviormental topic1, enviornamtal topic2 ")
|
33 |
st.write("Step 2: Ask your specfici questions regarding a CSRD disclosure requirments")
|
34 |
|
35 |
-
st.write( os.environ['OPENAI_API_BASE'] )
|
36 |
|
37 |
|
38 |
# pdf file upload
|
|
|
14 |
|
15 |
|
16 |
import os
|
17 |
+
|
18 |
+
st.write( os.environ['OPENAI_API_BASE'] )
|
19 |
+
|
20 |
os.environ["OPENAI_API_TYPE"] = "azure"
|
21 |
os.environ["OPENAI_API_VERSION"] = "2023-05-15"
|
22 |
os.environ["OPENAI_API_BASE"] = "https://cog-mnjbf5r4o6b3e.openai.azure.com/"
|
|
|
35 |
st.write("Step 1: Summary of your selected section of CSRD... Sections in this are enviormental topic1, enviornamtal topic2 ")
|
36 |
st.write("Step 2: Ask your specfici questions regarding a CSRD disclosure requirments")
|
37 |
|
|
|
38 |
|
39 |
|
40 |
# pdf file upload
|