Update app.py
Browse files309 unmodified lines310311312313314315316317318309 unmodified linestopic_content_code_state = gr.State()topic_dropdown.change(fn=update_topic_content, inputs=topic_dropdown, outputs=[topic_content_dropdown, topic_content_state, topic_code_state])topic_content_dropdown.change(fn=update_reports, inputs=[topic_content_dropdown, topic_content_state, topic_code_state],outputs=[report_dropdown, titles_state, topic_content_code_state])report_dropdown.change(fn=update_topic_params_and_link, inputs=[report_dropdown, titles_state, topic_code_state, topic_content_code_state],outputs=[topic_params_box, link_output, kwargs_box])def run_get_csp_data(lang: str = 'en', topic_params_str: str = '[]', query_kwargs_str: str = '{}') -> List[Dict]:309 unmodified lines310311312313314315316317318309 unmodified linestopic_content_code_state = gr.State()topic_dropdown.change(fn=update_topic_content, inputs=topic_dropdown, outputs=[topic_content_dropdown, topic_content_state, topic_code_state])topic_content_dropdown.change(fn=update_reports, inputs=[topic_content_dropdown, topic_content_state], #, topic_code_state],outputs=[report_dropdown, titles_state, topic_content_code_state])report_dropdown.change(fn=update_topic_params_and_link, inputs=[report_dropdown, titles_state], #, topic_code_state, topic_content_code_state],outputs=[topic_params_box, link_output, kwargs_box])def run_get_csp_data(lang: str = 'en', topic_params_str: str = '[]', query_kwargs_str: str = '{}') -> List[Dict]:
app.py+2-2