TheoLvs commited on
Commit
53cdd75
1 Parent(s): f842a0e

Minor updates

Browse files
Files changed (1) hide show
  1. app.py +5 -4
app.py CHANGED
@@ -383,7 +383,7 @@ with gr.Blocks(title="Climate Q&A", css="style.css", theme=theme,elem_id = "main
383
  output_query = gr.Textbox(label="Query used for retrieval",show_label = True,elem_id = "reformulated-query",lines = 2,interactive = False)
384
  output_language = gr.Textbox(label="Language",show_label = True,elem_id = "language",lines = 1,interactive = False)
385
 
386
- with gr.Tab("Images",elem_id = "tab-images",id = 3):
387
  gallery = gr.Gallery()
388
 
389
 
@@ -583,7 +583,7 @@ with gr.Blocks(title="Climate Q&A", css="style.css", theme=theme,elem_id = "main
583
  IPBES | Full Report. Regional Assessment Report on Biodiversity and Ecosystem Services for Europe and Central Asia. | https://zenodo.org/record/3237429/files/ipbes_assessment_report_eca_EN.pdf | 894 | 2018
584
  IPBES | Summary for Policymakers. Regional Assessment Report on Biodiversity and Ecosystem Services for Europe and Central Asia. | https://zenodo.org/record/3237468/files/ipbes_assessment_spm_eca_EN.pdf | 52 | 2018
585
  IPBES | Full Report. Assessment Report on Land Degradation and Restoration. | https://zenodo.org/record/3237393/files/ipbes_assessment_report_ldra_EN.pdf | 748 | 2018
586
- IPBES | Summary for Policymakers. Assessment Report on Land Degradation and Restoration. | https://zenodo.org/record/3237393/files/ipbes_assessment_report_ldra_EN.pdf | 48 | 2018
587
  """)
588
 
589
  with gr.Tab("Carbon Footprint",elem_classes = "max-height other-tabs"):
@@ -607,16 +607,17 @@ Or around 2 to 4 times more than a typical Google search.
607
  gr.Markdown("""
608
 
609
  ##### Upcoming features
610
- - Figures retrieval
611
  - Conversational chat
612
  - Intent routing
613
- - Report filtering
614
 
615
  ##### v1.2.0 - *2023-11-27
616
  - Added new IPBES assessment on Invasive Species (SPM and chapters)
617
  - Switched all the codebase to LCEL (Langchain Expression Language)
618
  - Added sample questions by category
619
  - Switched embeddings from old ``sentence-transformers/multi-qa-mpnet-base-dot-v1`` to ``BAAI/bge-base-en-v1.5``
 
 
620
 
621
  ##### v1.1.0 - *2023-10-16*
622
  - ClimateQ&A on Hugging Face is finally working again with all the new features !
 
383
  output_query = gr.Textbox(label="Query used for retrieval",show_label = True,elem_id = "reformulated-query",lines = 2,interactive = False)
384
  output_language = gr.Textbox(label="Language",show_label = True,elem_id = "language",lines = 1,interactive = False)
385
 
386
+ with gr.Tab("Figures",elem_id = "tab-images",id = 3):
387
  gallery = gr.Gallery()
388
 
389
 
 
583
  IPBES | Full Report. Regional Assessment Report on Biodiversity and Ecosystem Services for Europe and Central Asia. | https://zenodo.org/record/3237429/files/ipbes_assessment_report_eca_EN.pdf | 894 | 2018
584
  IPBES | Summary for Policymakers. Regional Assessment Report on Biodiversity and Ecosystem Services for Europe and Central Asia. | https://zenodo.org/record/3237468/files/ipbes_assessment_spm_eca_EN.pdf | 52 | 2018
585
  IPBES | Full Report. Assessment Report on Land Degradation and Restoration. | https://zenodo.org/record/3237393/files/ipbes_assessment_report_ldra_EN.pdf | 748 | 2018
586
+ IPBES | IPBES Invasive Alien Species Assessment: Summary for Policymakers & 6 chapters | https://zenodo.org/records/10127924/files/Summary%20for%20policymakers_IPBES%20IAS%20Assessment.pdf | 56 + 1198 | 2023
587
  """)
588
 
589
  with gr.Tab("Carbon Footprint",elem_classes = "max-height other-tabs"):
 
607
  gr.Markdown("""
608
 
609
  ##### Upcoming features
610
+ - Figures retrieval and multimodal system
611
  - Conversational chat
612
  - Intent routing
 
613
 
614
  ##### v1.2.0 - *2023-11-27
615
  - Added new IPBES assessment on Invasive Species (SPM and chapters)
616
  - Switched all the codebase to LCEL (Langchain Expression Language)
617
  - Added sample questions by category
618
  - Switched embeddings from old ``sentence-transformers/multi-qa-mpnet-base-dot-v1`` to ``BAAI/bge-base-en-v1.5``
619
+ - Report filtering to select directly the report you want to source your answers from
620
+ - First naive version of a figures retrieval system by looking up the figures in the retrieved pages
621
 
622
  ##### v1.1.0 - *2023-10-16*
623
  - ClimateQ&A on Hugging Face is finally working again with all the new features !