Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -17,13 +17,10 @@ import time
|
|
17 |
image = Image.open('Wipro logo.png')
|
18 |
st.image(image)
|
19 |
|
20 |
-
st.
|
21 |
|
22 |
-
st.header("Learn some of the best practices in sustainability from success stories of leading companies.. ")
|
23 |
|
24 |
|
25 |
-
st.subheader("Welcome!. Today, What company's sustainability story is inspiring you ?.. ")
|
26 |
-
|
27 |
|
28 |
os.environ['OPENAI_API_TYPE'] = 'azure'
|
29 |
os.environ['OPENAI_API_VERSION'] = '2023-03-15-preview'
|
@@ -34,7 +31,7 @@ llmgpt3 = AzureOpenAI( deployment_name="testdavanci", model_name="text-davi
|
|
34 |
|
35 |
with st.form("my_form"):
|
36 |
|
37 |
-
myurl = st.text_input("What is the URL
|
38 |
|
39 |
yourquestion = st.text_input('Ask your question on best practices', 'What is Wipro plans for Biodiversity in 2024?')
|
40 |
st.write('Your input is ', yourquestion)
|
|
|
17 |
image = Image.open('Wipro logo.png')
|
18 |
st.image(image)
|
19 |
|
20 |
+
st.header("Learn best practices in Data Centre Sustainability")
|
21 |
|
|
|
22 |
|
23 |
|
|
|
|
|
24 |
|
25 |
os.environ['OPENAI_API_TYPE'] = 'azure'
|
26 |
os.environ['OPENAI_API_VERSION'] = '2023-03-15-preview'
|
|
|
31 |
|
32 |
with st.form("my_form"):
|
33 |
|
34 |
+
myurl = st.text_input("What is the URL?", "https://www.wipro.com/content/dam/nexus/en/sustainability/sustainability_reports/wipro-sustainability-report-fy-2021-22.pdf")
|
35 |
|
36 |
yourquestion = st.text_input('Ask your question on best practices', 'What is Wipro plans for Biodiversity in 2024?')
|
37 |
st.write('Your input is ', yourquestion)
|