Nick088 commited on
Commit
d1af5c9
Β·
verified Β·
1 Parent(s): 307cd30

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
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(visible=False) as output:
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,