Update app.py
Browse files
app.py
CHANGED
@@ -188,8 +188,8 @@ with gr.Blocks() as demo:
|
|
188 |
#classification
|
189 |
btn_classif.click(classification, inputs=[dd_source_class, fi_excel, df_category, sl_treshold], outputs=[fi_excel, df_output])
|
190 |
btn_reset_df.click(reset_cate, inputs=df_category, outputs=df_category)
|
191 |
-
btn_filter.click(
|
192 |
-
btn_add_categories.click(
|
193 |
|
194 |
#charts
|
195 |
btn_chart.click(create_bar_plot, inputs=[fi_excel, dd_label1, dd_label2], outputs=[plt_figure])
|
|
|
188 |
#classification
|
189 |
btn_classif.click(classification, inputs=[dd_source_class, fi_excel, df_category, sl_treshold], outputs=[fi_excel, df_output])
|
190 |
btn_reset_df.click(reset_cate, inputs=df_category, outputs=df_category)
|
191 |
+
btn_filter.click(filter_by_topics, inputs=[dd_filter, df_category_hidden], outputs=df_category)
|
192 |
+
btn_add_categories.click(add_categories, inputs=[df_category, df_category_hidden],outputs=[dd_filter,df_category_hidden])
|
193 |
|
194 |
#charts
|
195 |
btn_chart.click(create_bar_plot, inputs=[fi_excel, dd_label1, dd_label2], outputs=[plt_figure])
|