Celine
commited on
Commit
•
240de8b
1
Parent(s):
9106c85
removed mpl_toolkits from req
Browse files- app.py +1 -1
- requirements.txt +0 -1
app.py
CHANGED
@@ -46,7 +46,7 @@ iface = gr.Interface(
|
|
46 |
fn=kmeans_image,
|
47 |
inputs=[gr.Number(minimum=2, maximum=10, value=2, label="Number of Clusters", info="Number of clusters to segment the image into"),
|
48 |
gr.Image(type="numpy")],
|
49 |
-
outputs=["image", gr.Plot(label="
|
50 |
examples=[
|
51 |
[2, "images/simple_dots.png"],
|
52 |
[3, "images/purple_flower.jpg"],
|
|
|
46 |
fn=kmeans_image,
|
47 |
inputs=[gr.Number(minimum=2, maximum=10, value=2, label="Number of Clusters", info="Number of clusters to segment the image into"),
|
48 |
gr.Image(type="numpy")],
|
49 |
+
outputs=["image", gr.Plot(label="Image plotted in 3D space")],
|
50 |
examples=[
|
51 |
[2, "images/simple_dots.png"],
|
52 |
[3, "images/purple_flower.jpg"],
|
requirements.txt
CHANGED
@@ -1,4 +1,3 @@
|
|
1 |
opencv-python
|
2 |
numpy
|
3 |
-
mpl_toolkits
|
4 |
matplotlib
|
|
|
1 |
opencv-python
|
2 |
numpy
|
|
|
3 |
matplotlib
|