Spaces:
Running
on
Zero
Running
on
Zero
changed the name
Browse files
app.py
CHANGED
@@ -18,9 +18,9 @@ else:
|
|
18 |
MAX_SEED = np.iinfo(np.int32).max
|
19 |
|
20 |
|
21 |
-
subprocess.run(["git", "clone", "https://github.com/Nick088Official/
|
22 |
|
23 |
-
os.chdir("
|
24 |
|
25 |
|
26 |
@spaces.GPU(duration=75)
|
@@ -74,6 +74,6 @@ gr.Interface(
|
|
74 |
gr.Model3D(clear_color=[0.0, 0.0, 0.0, 0.0], label="3D Model View of the Skin")
|
75 |
],
|
76 |
title="Minecraft Skin Generator",
|
77 |
-
description="Make AI generated Minecraft Skins by a Finetuned Stable Diffusion Version!<br>Github Repository & Model used: https://github.com/Nick088Official/
|
78 |
css=".pixelated {image-rendering: pixelated} .checkered img {background-image: url(\'data:image/svg+xml,<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"2\" height=\"2\" fill-opacity=\".15\"><rect x=\"1\" width=\"1\" height=\"1\"/><rect y=\"1\" width=\"1\" height=\"1\"/></svg>\');background-size: 16px;}"
|
79 |
).launch(show_api=False, share=True)
|
|
|
18 |
MAX_SEED = np.iinfo(np.int32).max
|
19 |
|
20 |
|
21 |
+
subprocess.run(["git", "clone", "https://github.com/Nick088Official/Minecraft_Skin_Generator.git"])
|
22 |
|
23 |
+
os.chdir("Minecraft_Skin_Generator")
|
24 |
|
25 |
|
26 |
@spaces.GPU(duration=75)
|
|
|
74 |
gr.Model3D(clear_color=[0.0, 0.0, 0.0, 0.0], label="3D Model View of the Skin")
|
75 |
],
|
76 |
title="Minecraft Skin Generator",
|
77 |
+
description="Make AI generated Minecraft Skins by a Finetuned Stable Diffusion Version!<br>Github Repository & Model used: https://github.com/Nick088Official/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), [not-holar](https://huggingface.co/not-holar) (made the rendering of the image asset in the web ui look pixelated like minecraft and have a checkered background),[meew](https://huggingface.co/spaces/meeww/Minecraft_Skin_Generator/blob/main/models/player_model.glb) (Minecraft Player 3d model) <br> [](https://discord.gg/AQsmBmgEPy)",
|
78 |
css=".pixelated {image-rendering: pixelated} .checkered img {background-image: url(\'data:image/svg+xml,<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"2\" height=\"2\" fill-opacity=\".15\"><rect x=\"1\" width=\"1\" height=\"1\"/><rect y=\"1\" width=\"1\" height=\"1\"/></svg>\');background-size: 16px;}"
|
79 |
).launch(show_api=False, share=True)
|