Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -38,19 +38,6 @@ seed_input = gr.Number(value=42, label="Seed", info="A starting point to initiat
|
|
38 |
output_image_name_input = gr.Textbox(label="Output Image Name", info="The name of the file of the output image skin, keep the .png", value="output-skin.png")
|
39 |
verbose_input = gr.Checkbox(label="Verbose Output", info="Produce more detailed output while running", value=False)
|
40 |
|
41 |
-
examples = [
|
42 |
-
[
|
43 |
-
"A man in a purple suit wearing a tophat.",
|
44 |
-
"xl",
|
45 |
-
25,
|
46 |
-
7.5,
|
47 |
-
1,
|
48 |
-
"fp16",
|
49 |
-
42,
|
50 |
-
"output.png",
|
51 |
-
False
|
52 |
-
]
|
53 |
-
]
|
54 |
|
55 |
# Create the Gradio interface
|
56 |
gr.Interface(
|
@@ -69,7 +56,6 @@ gr.Interface(
|
|
69 |
outputs=gr.Image(label="Generated Minecraft Skin Image Asset"),
|
70 |
title="Minecraft Skin Generator",
|
71 |
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>Hugging Face Space made by [Nick088](https://linktr.ee/Nick088)",
|
72 |
-
examples=examples,
|
73 |
).launch(show_api=False, share=True)
|
74 |
|
75 |
# return os.path.join(f"output_minecraft_skins/{output_image_name}")
|
|
|
38 |
output_image_name_input = gr.Textbox(label="Output Image Name", info="The name of the file of the output image skin, keep the .png", value="output-skin.png")
|
39 |
verbose_input = gr.Checkbox(label="Verbose Output", info="Produce more detailed output while running", value=False)
|
40 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
41 |
|
42 |
# Create the Gradio interface
|
43 |
gr.Interface(
|
|
|
56 |
outputs=gr.Image(label="Generated Minecraft Skin Image Asset"),
|
57 |
title="Minecraft Skin Generator",
|
58 |
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>Hugging Face Space made by [Nick088](https://linktr.ee/Nick088)",
|
|
|
59 |
).launch(show_api=False, share=True)
|
60 |
|
61 |
# return os.path.join(f"output_minecraft_skins/{output_image_name}")
|