Spaces:
Runtime error
Runtime error
Merge branch 'main' of https://huggingface.co/spaces/nazneen/datapoints-explorer
Browse files
app.py
CHANGED
@@ -32,7 +32,7 @@ def datasets_explorer_viz(df):
|
|
32 |
TableColumn(field="dataset_id", title="Dataset ID"),
|
33 |
TableColumn(field="text", title="Text"),
|
34 |
]
|
35 |
-
data_table = DataTable(source=table_source, columns=columns, width=
|
36 |
p.circle('x', 'y',source=selection_source, size=5, color= 'red')
|
37 |
s.selected.js_on_change('indices', CustomJS(args=dict(umap_source=s, table_source=table_source), code="""
|
38 |
const inds = cb_obj.indices;
|
|
|
32 |
TableColumn(field="dataset_id", title="Dataset ID"),
|
33 |
TableColumn(field="text", title="Text"),
|
34 |
]
|
35 |
+
data_table = DataTable(source=table_source, columns=columns, width=600)
|
36 |
p.circle('x', 'y',source=selection_source, size=5, color= 'red')
|
37 |
s.selected.js_on_change('indices', CustomJS(args=dict(umap_source=s, table_source=table_source), code="""
|
38 |
const inds = cb_obj.indices;
|