Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -38,7 +38,7 @@ def generate_response(input_text):
|
|
38 |
#st.write({"source1":json1["source"], "source2":json2["source"],"source3":json3["source"]})
|
39 |
|
40 |
|
41 |
-
climate_TEMPLATE = """ You are ChatClimate, take a deep breath and use the following pieces of context to provide an answer for general audience. Format your answer in Markdown:"
|
42 |
|
43 |
|
44 |
Context: {context}
|
@@ -58,7 +58,7 @@ def generate_response(input_text):
|
|
58 |
[{source5} page {page5}](https://www.ipcc.ch/report/ar6/wg3/downloads/report/{source5}.pdf#page={page5})
|
59 |
|
60 |
|
61 |
-
|
62 |
|
63 |
at the end of your answer, make sure to add a short highlight of your answer in humor and make sure no more than 5 words.
|
64 |
|
|
|
38 |
#st.write({"source1":json1["source"], "source2":json2["source"],"source3":json3["source"]})
|
39 |
|
40 |
|
41 |
+
climate_TEMPLATE = """ You are ChatClimate, take a deep breath and use the following pieces of context to provide an answer for general audience. If you don't know the answer, just say that you don't know, don't try to make up an answer. Format your answer in Markdown:"
|
42 |
|
43 |
|
44 |
Context: {context}
|
|
|
58 |
[{source5} page {page5}](https://www.ipcc.ch/report/ar6/wg3/downloads/report/{source5}.pdf#page={page5})
|
59 |
|
60 |
|
61 |
+
|
62 |
|
63 |
at the end of your answer, make sure to add a short highlight of your answer in humor and make sure no more than 5 words.
|
64 |
|