Update app.py
Browse filesHotfix merge conflict
app.py
CHANGED
@@ -16,10 +16,8 @@ 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 +534,9 @@ 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 |
+
|
|
|
21 |
from front.utils import process_figures
|
22 |
from gradio_modal import Modal
|
23 |
|
|
|
534 |
with gr.Tabs():
|
535 |
cqa_components = cqa_tab(tab_name="ClimateQ&A")
|
536 |
local_cqa_components = cqa_tab(tab_name="France - Local Q&A")
|
|
|
537 |
drias_components = create_drias_tab(share_client=share_client, user_id=user_id)
|
538 |
ipcc_components = create_ipcc_tab(share_client=share_client, user_id=user_id)
|
|
|
|
|
539 |
|
|
|
540 |
create_about_tab()
|
541 |
|
542 |
event_handling(cqa_components, config_components, tab_name="ClimateQ&A")
|