Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -26,13 +26,13 @@ with gr.Blocks() as demo:
|
|
26 |
mist_button = gr.Button("Ask AI")
|
27 |
|
28 |
with gr.Tab("Classification by topic"):
|
29 |
-
dd_source_class = gr.Dropdown(label="Source Column
|
30 |
btn_classif = gr.Button("Categorize")
|
31 |
|
32 |
with gr.Tab("Charts Generation"):
|
33 |
with gr.Row():
|
34 |
-
dd_label1 = gr.Dropdown(label="
|
35 |
-
dd_label2 = gr.Dropdown(label="
|
36 |
btn_chart = gr.Button("Generate Bar Plot")
|
37 |
plt_figure = gr.Plot()
|
38 |
|
|
|
26 |
mist_button = gr.Button("Ask AI")
|
27 |
|
28 |
with gr.Tab("Classification by topic"):
|
29 |
+
dd_source_class = gr.Dropdown(label="Source Column", multiselect=False)
|
30 |
btn_classif = gr.Button("Categorize")
|
31 |
|
32 |
with gr.Tab("Charts Generation"):
|
33 |
with gr.Row():
|
34 |
+
dd_label1 = gr.Dropdown(label="Label 1", multiselect=False)
|
35 |
+
dd_label2 = gr.Dropdown(label="Label 2", multiselect=False, value="")
|
36 |
btn_chart = gr.Button("Generate Bar Plot")
|
37 |
plt_figure = gr.Plot()
|
38 |
|