Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -46,7 +46,16 @@ init()
|
|
46 |
|
47 |
|
48 |
|
|
|
|
|
|
|
|
|
49 |
|
|
|
|
|
|
|
|
|
|
|
50 |
|
51 |
import numpy
|
52 |
|
@@ -65,7 +74,7 @@ iface = gr.Interface(
|
|
65 |
inputs=gr.Slider(0,1000,500,step = 0.01),
|
66 |
outputs=gr.Gallery(label="Generated Skins"),
|
67 |
title = "Minecraft Skin Generator",
|
68 |
-
css =
|
69 |
debug = True,
|
70 |
)
|
71 |
iface.launch(width=64,height=64,enable_queue=True)
|
|
|
46 |
|
47 |
|
48 |
|
49 |
+
css = """
|
50 |
+
img {
|
51 |
+
image-rendering: pixelated;
|
52 |
+
}
|
53 |
|
54 |
+
/* You might need to target a specific class or ID depending on Gradio's rendering */
|
55 |
+
.gr-image {
|
56 |
+
image-rendering: pixelated;
|
57 |
+
}
|
58 |
+
"""
|
59 |
|
60 |
import numpy
|
61 |
|
|
|
74 |
inputs=gr.Slider(0,1000,500,step = 0.01),
|
75 |
outputs=gr.Gallery(label="Generated Skins"),
|
76 |
title = "Minecraft Skin Generator",
|
77 |
+
css = css,
|
78 |
debug = True,
|
79 |
)
|
80 |
iface.launch(width=64,height=64,enable_queue=True)
|