Spaces:
Sleeping
Sleeping
Commit
·
c39487a
1
Parent(s):
497a7b1
set pca as default, warn more seriously
Browse files
app.py
CHANGED
|
@@ -159,9 +159,9 @@ with gr.Blocks() as demo:
|
|
| 159 |
with gr.Row():
|
| 160 |
with gr.Column():
|
| 161 |
image_input = gr.Image(label="Input Image")
|
| 162 |
-
algorithm = gr.Radio(["PCA", "TSNE", "UMAP"], label="Algorithm")
|
| 163 |
run_button = gr.Button("Run")
|
| 164 |
-
gr.Markdown("⚠️ UMAP is slow, TSNE is
|
| 165 |
resample_pct = gr.Slider(-5, 0, -3, label="Resample (10^x)*100%")
|
| 166 |
with gr.Column():
|
| 167 |
output_image = gr.Image(label="Output Image")
|
|
|
|
| 159 |
with gr.Row():
|
| 160 |
with gr.Column():
|
| 161 |
image_input = gr.Image(label="Input Image")
|
| 162 |
+
algorithm = gr.Radio(["PCA", "TSNE", "UMAP"], label="Algorithm", value="PCA")
|
| 163 |
run_button = gr.Button("Run")
|
| 164 |
+
gr.Markdown("⚠️ UMAP is slow, TSNE is ULTRA-slow. They won't run on time. ⚠️")
|
| 165 |
resample_pct = gr.Slider(-5, 0, -3, label="Resample (10^x)*100%")
|
| 166 |
with gr.Column():
|
| 167 |
output_image = gr.Image(label="Output Image")
|