Spaces:
Runtime error
Runtime error
Johannes
commited on
Commit
·
5b747a4
1
Parent(s):
8c361b7
add more description
Browse files
app.py
CHANGED
@@ -83,7 +83,9 @@ Demo by <a href='https://huggingface.co/johko' target='_blank'>Johannes (johko)
|
|
83 |
gr.Interface(
|
84 |
title="Vector Quantization with scikit-learn",
|
85 |
description="""<p style="text-align: center;">This is an interactive demo for the <a href="https://scikit-learn.org/stable/auto_examples/cluster/plot_face_compress.html">Vector Quantization Tutorial</a> from scikit-learn.
|
86 |
-
</br>You can upload an image and choose from two sampling methods - *uniform* and *kmeans
|
|
|
|
|
87 |
article=article,
|
88 |
fn=infer,
|
89 |
inputs=[gr.Image(image_mode="L", label="Input Image"),
|
|
|
83 |
gr.Interface(
|
84 |
title="Vector Quantization with scikit-learn",
|
85 |
description="""<p style="text-align: center;">This is an interactive demo for the <a href="https://scikit-learn.org/stable/auto_examples/cluster/plot_face_compress.html">Vector Quantization Tutorial</a> from scikit-learn.
|
86 |
+
</br>You can simply upload an image and choose from two sampling methods - *uniform* and *kmeans*.
|
87 |
+
</br>Then click 'submit' and the image will the be quantized. You will get information about the histogram, pixles distribution and other image statistics.
|
88 |
+
</p>""",
|
89 |
article=article,
|
90 |
fn=infer,
|
91 |
inputs=[gr.Image(image_mode="L", label="Input Image"),
|