Update app.py
Browse files
app.py
CHANGED
|
@@ -63,7 +63,7 @@ description="Make AI generated Minecraft Skins by a Finetuned Stable Diffusion V
|
|
| 63 |
with gr.Blocks() as demo:
|
| 64 |
gr.Markdown(title)
|
| 65 |
gr.Markdown(description)
|
| 66 |
-
with gr.Column(
|
| 67 |
inputs=[
|
| 68 |
prompt,
|
| 69 |
stable_diffusion_model,
|
|
@@ -75,10 +75,12 @@ with gr.Blocks() as demo:
|
|
| 75 |
verbose,
|
| 76 |
see_in_3d
|
| 77 |
]
|
|
|
|
| 78 |
outputs=[
|
| 79 |
gr.Image(label="Generated Minecraft Skin Image Asset"),
|
| 80 |
gr.Model3D(clear_color=[0.0, 0.0, 0.0, 0.0], label="3D Model")
|
| 81 |
]
|
|
|
|
| 82 |
submit_btn = gr.Button("Submit")
|
| 83 |
submit_btn.click(
|
| 84 |
run_inference,
|
|
|
|
| 63 |
with gr.Blocks() as demo:
|
| 64 |
gr.Markdown(title)
|
| 65 |
gr.Markdown(description)
|
| 66 |
+
with gr.Column() as inputs:
|
| 67 |
inputs=[
|
| 68 |
prompt,
|
| 69 |
stable_diffusion_model,
|
|
|
|
| 75 |
verbose,
|
| 76 |
see_in_3d
|
| 77 |
]
|
| 78 |
+
with gr.Column() as outputs:
|
| 79 |
outputs=[
|
| 80 |
gr.Image(label="Generated Minecraft Skin Image Asset"),
|
| 81 |
gr.Model3D(clear_color=[0.0, 0.0, 0.0, 0.0], label="3D Model")
|
| 82 |
]
|
| 83 |
+
|
| 84 |
submit_btn = gr.Button("Submit")
|
| 85 |
submit_btn.click(
|
| 86 |
run_inference,
|