Spaces:
Sleeping
Sleeping
DavidFernandes
commited on
Commit
•
ac0adfd
1
Parent(s):
fe26723
Update app.py
Browse files
app.py
CHANGED
@@ -39,6 +39,8 @@ def color_quantization_app(image, num_colors):
|
|
39 |
# Converting the pixel values back to the range [0, 255] and casting to uint8
|
40 |
quantized_image = (quantized_image * 255).astype(np.uint8)
|
41 |
return quantized_image
|
|
|
|
|
42 |
|
43 |
# Creating a Gradio interface object
|
44 |
iface = gr.Interface(
|
|
|
39 |
# Converting the pixel values back to the range [0, 255] and casting to uint8
|
40 |
quantized_image = (quantized_image * 255).astype(np.uint8)
|
41 |
return quantized_image
|
42 |
+
|
43 |
+
dark_minimalist = gr.Theme.from_hub("Taithrah/Minimal")
|
44 |
|
45 |
# Creating a Gradio interface object
|
46 |
iface = gr.Interface(
|