Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -102,11 +102,11 @@ with gr.Blocks() as demo:
|
|
102 |
)
|
103 |
with gr.Row():
|
104 |
table = gr.DataFrame(
|
105 |
-
label="Profession assignment per cluster"
|
106 |
)
|
107 |
with gr.Row():
|
108 |
labor_table = gr.DataFrame(
|
109 |
-
label="Labor Bureau Statistics per profession"
|
110 |
)
|
111 |
num_clusters.change(
|
112 |
make_profession_table,
|
@@ -141,7 +141,7 @@ with gr.Blocks() as demo:
|
|
141 |
# [num_clusters, profession_choices_1,model_choices],
|
142 |
# [table, labor_table],
|
143 |
# queue=False,
|
144 |
-
)
|
145 |
with gr.Column():
|
146 |
plot = gr.Plot(
|
147 |
label=f"Makeup of the cluster assignments for profession {profession_choice}"
|
|
|
102 |
)
|
103 |
with gr.Row():
|
104 |
table = gr.DataFrame(
|
105 |
+
label="Profession assignment per cluster", wrap=True
|
106 |
)
|
107 |
with gr.Row():
|
108 |
labor_table = gr.DataFrame(
|
109 |
+
label="Labor Bureau Statistics per profession", wrap=True
|
110 |
)
|
111 |
num_clusters.change(
|
112 |
make_profession_table,
|
|
|
141 |
# [num_clusters, profession_choices_1,model_choices],
|
142 |
# [table, labor_table],
|
143 |
# queue=False,
|
144 |
+
# )
|
145 |
with gr.Column():
|
146 |
plot = gr.Plot(
|
147 |
label=f"Makeup of the cluster assignments for profession {profession_choice}"
|