Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -24,7 +24,7 @@ def run_inference(prompt, stable_diffusion_model, num_inference_steps, guidance_
|
|
| 24 |
|
| 25 |
subprocess.run(["python", command], shell=True, check=True)
|
| 26 |
|
| 27 |
-
return output_image_name
|
| 28 |
|
| 29 |
|
| 30 |
# Define Gradio UI components
|
|
@@ -58,4 +58,3 @@ gr.Interface(
|
|
| 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}")
|
|
|
|
| 24 |
|
| 25 |
subprocess.run(["python", command], shell=True, check=True)
|
| 26 |
|
| 27 |
+
return os.path.join(f"output_minecraft_skins/{output_image_name}")
|
| 28 |
|
| 29 |
|
| 30 |
# Define Gradio UI components
|
|
|
|
| 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 |
|
|
|