hotfix merge conflict
Browse files
app.py
CHANGED
|
@@ -16,10 +16,7 @@ from climateqa.chat import start_chat, chat_stream, finish_chat
|
|
| 16 |
from front.tabs import create_config_modal, cqa_tab, create_about_tab
|
| 17 |
from front.tabs import MainTabPanel, ConfigPanel
|
| 18 |
from front.tabs.tab_drias import create_drias_tab
|
| 19 |
-
<<<<<<< HEAD
|
| 20 |
from front.tabs.tab_ipcc import create_ipcc_tab
|
| 21 |
-
=======
|
| 22 |
-
>>>>>>> hf-origin/main
|
| 23 |
from front.utils import process_figures
|
| 24 |
from gradio_modal import Modal
|
| 25 |
|
|
@@ -536,13 +533,8 @@ def main_ui():
|
|
| 536 |
with gr.Tabs():
|
| 537 |
cqa_components = cqa_tab(tab_name="ClimateQ&A")
|
| 538 |
local_cqa_components = cqa_tab(tab_name="France - Local Q&A")
|
| 539 |
-
<<<<<<< HEAD
|
| 540 |
drias_components = create_drias_tab(share_client=share_client, user_id=user_id)
|
| 541 |
ipcc_components = create_ipcc_tab(share_client=share_client, user_id=user_id)
|
| 542 |
-
=======
|
| 543 |
-
create_drias_tab(share_client=share_client, user_id=user_id)
|
| 544 |
-
|
| 545 |
-
>>>>>>> hf-origin/main
|
| 546 |
create_about_tab()
|
| 547 |
|
| 548 |
event_handling(cqa_components, config_components, tab_name="ClimateQ&A")
|
|
|
|
| 16 |
from front.tabs import create_config_modal, cqa_tab, create_about_tab
|
| 17 |
from front.tabs import MainTabPanel, ConfigPanel
|
| 18 |
from front.tabs.tab_drias import create_drias_tab
|
|
|
|
| 19 |
from front.tabs.tab_ipcc import create_ipcc_tab
|
|
|
|
|
|
|
| 20 |
from front.utils import process_figures
|
| 21 |
from gradio_modal import Modal
|
| 22 |
|
|
|
|
| 533 |
with gr.Tabs():
|
| 534 |
cqa_components = cqa_tab(tab_name="ClimateQ&A")
|
| 535 |
local_cqa_components = cqa_tab(tab_name="France - Local Q&A")
|
|
|
|
| 536 |
drias_components = create_drias_tab(share_client=share_client, user_id=user_id)
|
| 537 |
ipcc_components = create_ipcc_tab(share_client=share_client, user_id=user_id)
|
|
|
|
|
|
|
|
|
|
|
|
|
| 538 |
create_about_tab()
|
| 539 |
|
| 540 |
event_handling(cqa_components, config_components, tab_name="ClimateQ&A")
|
style.css
CHANGED
|
@@ -656,20 +656,11 @@ a {
|
|
| 656 |
/* overflow-y: scroll; */
|
| 657 |
}
|
| 658 |
#sql-query{
|
| 659 |
-
<<<<<<< HEAD
|
| 660 |
max-height: 100%;
|
| 661 |
}
|
| 662 |
|
| 663 |
#sql-query textarea{
|
| 664 |
min-height: 200px !important;
|
| 665 |
-
=======
|
| 666 |
-
max-height: 300px;
|
| 667 |
-
overflow-y:scroll;
|
| 668 |
-
}
|
| 669 |
-
|
| 670 |
-
#sql-query textarea{
|
| 671 |
-
min-height: 100px !important;
|
| 672 |
-
>>>>>>> hf-origin/main
|
| 673 |
}
|
| 674 |
|
| 675 |
#sql-query span{
|
|
|
|
| 656 |
/* overflow-y: scroll; */
|
| 657 |
}
|
| 658 |
#sql-query{
|
|
|
|
| 659 |
max-height: 100%;
|
| 660 |
}
|
| 661 |
|
| 662 |
#sql-query textarea{
|
| 663 |
min-height: 200px !important;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 664 |
}
|
| 665 |
|
| 666 |
#sql-query span{
|