Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -52,13 +52,17 @@ os.environ['OPENAI_API_VERSION'] = '2023-03-15-preview'
|
|
52 |
llmgpt3 = AzureOpenAI( deployment_name="testdavanci", model_name="text-davinci-003" )
|
53 |
#llmchatgpt = AzureOpenAI( deployment_name="esujnand", model_name="gpt-35-turbo" )
|
54 |
|
55 |
-
samplequestions = ["
|
|
|
|
|
|
|
|
|
56 |
"Using IT: Environmentally Sound Practices", "Designing Green Computers", "Epeat" ]
|
57 |
|
58 |
|
59 |
with st.form("my_form"):
|
60 |
|
61 |
-
myurl = st.text_input("What is the URL?", "https://
|
62 |
|
63 |
yourquestion = st.selectbox(
|
64 |
'Select', samplequestions )
|
|
|
52 |
llmgpt3 = AzureOpenAI( deployment_name="testdavanci", model_name="text-davinci-003" )
|
53 |
#llmchatgpt = AzureOpenAI( deployment_name="esujnand", model_name="gpt-35-turbo" )
|
54 |
|
55 |
+
samplequestions = ["How can we reduce our carbon footprint to align with Carbon Disclosure Project requirements?",
|
56 |
+
"Is there a certification process for Ecovadis?",
|
57 |
+
" What are the key components to track for Carbon Disclosure Project (CDP) reporting?",
|
58 |
+
"How often must we report under GLOBAL REPORTING INITIATIVE (GRI)?",
|
59 |
+
"Holistic Approach to Green IT",
|
60 |
"Using IT: Environmentally Sound Practices", "Designing Green Computers", "Epeat" ]
|
61 |
|
62 |
|
63 |
with st.form("my_form"):
|
64 |
|
65 |
+
myurl = st.text_input("What is the URL?", "https://rajnandr.github.io/CuratedQA.pdf")
|
66 |
|
67 |
yourquestion = st.selectbox(
|
68 |
'Select', samplequestions )
|