m7n commited on
Commit
9028ab4
·
1 Parent(s): c6e66f5

Toggle use_medoids parameter in prediction function back to True and update datamapplot dependency to point to alternative version by MNoichl.

Browse files
Files changed (2) hide show
  1. app.py +1 -1
  2. 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=False, # Switch back once efficient mediod caclulation comes out!
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/TutteInstitute/datamapplot.git@cda9fa5
2
  uvicorn
3
  fastapi
4
  numpy
 
1
+ datamapplot @ git+https://github.com/MNoichl/datamapplot.git@main
2
  uvicorn
3
  fastapi
4
  numpy