Commit ·
c39487a
1
Parent(s): 497a7b1
set pca as default, warn more seriously
Browse files158 unmodified lines159160161162163164165166167158 unmodified lineswith gr.Row():with gr.Column():image_input = gr.Image(label="Input Image")algorithm = gr.Radio(["PCA", "TSNE", "UMAP"], label="Algorithm")run_button = gr.Button("Run")gr.Markdown("⚠️ UMAP is slow, TSNE is ultra-slow, use resample x<-3 ⚠️")resample_pct = gr.Slider(-5, 0, -3, label="Resample (10^x)*100%")with gr.Column():output_image = gr.Image(label="Output Image")158 unmodified lines159160161162163164165166167158 unmodified lineswith gr.Row():with gr.Column():image_input = gr.Image(label="Input Image")algorithm = gr.Radio(["PCA", "TSNE", "UMAP"], label="Algorithm", value="PCA")run_button = gr.Button("Run")gr.Markdown("⚠️ UMAP is slow, TSNE is ULTRA-slow. They won't run on time. ⚠️")resample_pct = gr.Slider(-5, 0, -3, label="Resample (10^x)*100%")with gr.Column():output_image = gr.Image(label="Output Image")
app.py+2-2