Spaces:
Running
on
Zero
Running
on
Zero
Toggle use_medoids parameter in prediction function back to True and update datamapplot dependency to point to alternative version by MNoichl.
Browse files- app.py +1 -1
- requirements.txt +1 -1
app.py
CHANGED
@@ -493,7 +493,7 @@ def predict(request: gr.Request, text_input, sample_size_slider, reduce_sample_c
|
|
493 |
|
494 |
hover_text=[str(row['title']) for ix, row in stacked_df.iterrows()],
|
495 |
marker_color_array=stacked_df['color'],
|
496 |
-
use_medoids=
|
497 |
width=1000,
|
498 |
height=1000,
|
499 |
point_radius_min_pixels=1,
|
|
|
493 |
|
494 |
hover_text=[str(row['title']) for ix, row in stacked_df.iterrows()],
|
495 |
marker_color_array=stacked_df['color'],
|
496 |
+
use_medoids=True, # Switch back once efficient mediod caclulation comes out!
|
497 |
width=1000,
|
498 |
height=1000,
|
499 |
point_radius_min_pixels=1,
|
requirements.txt
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
datamapplot @ git+https://github.com/
|
2 |
uvicorn
|
3 |
fastapi
|
4 |
numpy
|
|
|
1 |
+
datamapplot @ git+https://github.com/MNoichl/datamapplot.git@main
|
2 |
uvicorn
|
3 |
fastapi
|
4 |
numpy
|