Added examples
Browse files
app.py
CHANGED
|
@@ -191,9 +191,44 @@ ClimateGPT harnesses modern OCR techniques to parse and preprocess IPCC reports.
|
|
| 191 |
ask = gr.Textbox(
|
| 192 |
show_label=False,
|
| 193 |
placeholder="Ask here your climate-related question and press enter",
|
| 194 |
-
sample_inputs=["which country polutes the most ?"],
|
| 195 |
).style(container=False)
|
| 196 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 197 |
with gr.Column(scale=1, variant="panel"):
|
| 198 |
gr.Markdown("### Sources")
|
| 199 |
sources_textbox = gr.Textbox(
|
|
|
|
| 191 |
ask = gr.Textbox(
|
| 192 |
show_label=False,
|
| 193 |
placeholder="Ask here your climate-related question and press enter",
|
|
|
|
| 194 |
).style(container=False)
|
| 195 |
|
| 196 |
+
examples_questions = gr.Examples([
|
| 197 |
+
"What are the main causes of climate change?",
|
| 198 |
+
"What are the impacts of climate change?",
|
| 199 |
+
"Can climate change be reversed?",
|
| 200 |
+
"What is the difference between climate change and global warming?",
|
| 201 |
+
"What can individuals do to address climate change?",
|
| 202 |
+
"What evidence do we have of climate change?",
|
| 203 |
+
"What is the Paris Agreement and why is it important?",
|
| 204 |
+
"Which industries have the highest GHG emissions?",
|
| 205 |
+
"Is climate change caused by humans?",
|
| 206 |
+
"What are the different greenhouse gases (GHG)?",
|
| 207 |
+
"What is the warming power of methane?",
|
| 208 |
+
"What is the jet stream?",
|
| 209 |
+
"What is the breakdown of carbon sinks?",
|
| 210 |
+
"How do the GHGs work ? Why does temperature increase ?",
|
| 211 |
+
"What is the impact of global warming on ocean currents?",
|
| 212 |
+
"How much warming is possible in 2050?",
|
| 213 |
+
"What is the impact of climate change in Africa?",
|
| 214 |
+
"What is the impact of rising sea levels?",
|
| 215 |
+
"Will climate change accelerate diseases and epidemics like COVID?",
|
| 216 |
+
"What are the economic impacts of climate change?",
|
| 217 |
+
"What is the link between gender equality and climate change?",
|
| 218 |
+
"How much is the cost of inaction ?",
|
| 219 |
+
"What is the relationship between climate change and poverty?",
|
| 220 |
+
"What is the relationship between climate change and biodiversity loss?",
|
| 221 |
+
"What are the most effective strategies and technologies for reducing greenhouse gas (GHG) emissions?",
|
| 222 |
+
"Is economic growth possible? What do you think about degrowth?",
|
| 223 |
+
"Will technology save us?",
|
| 224 |
+
"Is climate change a natural phenomenon ?",
|
| 225 |
+
"Is climate change really happening or is it just a natural fluctuation in Earth's temperature?",
|
| 226 |
+
"Is the scientific consensus on climate change really as strong as it is claimed to be?",
|
| 227 |
+
"Is the impact of climate change really as severe as it is claimed to be?",
|
| 228 |
+
"Is climate change a hoax created by the government or environmental organizations?"
|
| 229 |
+
],[ask])
|
| 230 |
+
|
| 231 |
+
|
| 232 |
with gr.Column(scale=1, variant="panel"):
|
| 233 |
gr.Markdown("### Sources")
|
| 234 |
sources_textbox = gr.Textbox(
|