Spaces:
Running
on
Zero
Running
on
Zero
Make the skin png preview properly pixelated instead of blurry
Browse filesBefore:
%3Cbr%2F%3E%3Cbr%2F%3EAfter%3A%3Cbr%2F%3E!%5Bimage.png%5D(https%3A%2F%2Fcdn-uploads.huggingface.co%2Fproduction%2Fuploads%2F6630f79fc6de281693917dd9%2FpB_uTDwFblx0aDtCS-jvO.png)%3C!-- HTML_TAG_END -->
app.py
CHANGED
|
@@ -66,9 +66,10 @@ gr.Interface(
|
|
| 66 |
verbose
|
| 67 |
],
|
| 68 |
outputs=[
|
| 69 |
-
gr.Image(label="Generated Minecraft Skin Image Asset"),
|
| 70 |
gr.Model3D(clear_color=[0.0, 0.0, 0.0, 0.0], label="3D Model View of the Skin")
|
| 71 |
],
|
| 72 |
title="Minecraft Skin Generator",
|
| 73 |
description="Make AI generated Minecraft Skins by a Finetuned Stable Diffusion Version!<br>Model used: https://github.com/Nick088Official/Stable_Diffusion_Finetuned_Minecraft_Skin_Generator<br>Credits: [Monadical-SAS](https://github.com/Monadical-SAS/minecraft_skin_generator) (Creators of the model), [Nick088](https://linktr.ee/Nick088) (Improving usage of the model), daroche (helping me fix the 3d model texture isue), [Brottweiler](https://gist.github.com/Brottweiler/483d0856c6692ef70cf90bf1a85ce364)(script to fix the 3d model texture, [meew](https://huggingface.co/spaces/meeww/Minecraft_Skin_Generator/blob/main/models/player_model.glb) (Minecraft Player 3d model)",
|
|
|
|
| 74 |
).launch(show_api=False, share=True)
|
|
|
|
| 66 |
verbose
|
| 67 |
],
|
| 68 |
outputs=[
|
| 69 |
+
gr.Image(label="Generated Minecraft Skin Image Asset", elem_classes="pixelated"),
|
| 70 |
gr.Model3D(clear_color=[0.0, 0.0, 0.0, 0.0], label="3D Model View of the Skin")
|
| 71 |
],
|
| 72 |
title="Minecraft Skin Generator",
|
| 73 |
description="Make AI generated Minecraft Skins by a Finetuned Stable Diffusion Version!<br>Model used: https://github.com/Nick088Official/Stable_Diffusion_Finetuned_Minecraft_Skin_Generator<br>Credits: [Monadical-SAS](https://github.com/Monadical-SAS/minecraft_skin_generator) (Creators of the model), [Nick088](https://linktr.ee/Nick088) (Improving usage of the model), daroche (helping me fix the 3d model texture isue), [Brottweiler](https://gist.github.com/Brottweiler/483d0856c6692ef70cf90bf1a85ce364)(script to fix the 3d model texture, [meew](https://huggingface.co/spaces/meeww/Minecraft_Skin_Generator/blob/main/models/player_model.glb) (Minecraft Player 3d model)",
|
| 74 |
+
css=".pixelated {image-rendering: pixelated}"
|
| 75 |
).launch(show_api=False, share=True)
|