Spaces:
Runtime error
Runtime error
Johannes commited on
Commit ·
5b747a4
1
Parent(s): 8c361b7
add more description
Browse files82 unmodified lines8384858687888982 unmodified linesgr.Interface(title="Vector Quantization with scikit-learn",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.</br>You can upload an image and choose from two sampling methods - *uniform* and *kmeans*.</p>""",article=article,fn=infer,inputs=[gr.Image(image_mode="L", label="Input Image"),82 unmodified lines83848586878889909182 unmodified linesgr.Interface(title="Vector Quantization with scikit-learn",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.</br>You can simply upload an image and choose from two sampling methods - *uniform* and *kmeans*.</br>Then click 'submit' and the image will the be quantized. You will get information about the histogram, pixles distribution and other image statistics.</p>""",article=article,fn=infer,inputs=[gr.Image(image_mode="L", label="Input Image"),
app.py+3-1