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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +11 -8
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() as inputs:
67
  inputs=[
68
  prompt,
69
  stable_diffusion_model,
@@ -75,19 +75,22 @@ with gr.Blocks() as demo:
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,
87
- inputs,
88
- outputs,
89
- )
90
-
91
 
92
 
93
 
 
63
  with gr.Blocks() as demo:
64
  gr.Markdown(title)
65
  gr.Markdown(description)
66
+ with gr.Column() as inference:
67
  inputs=[
68
  prompt,
69
  stable_diffusion_model,
 
75
  verbose,
76
  see_in_3d
77
  ]
78
+
79
+ submit_btn = gr.Button("Submit")
80
+
81
+
82
  with gr.Column() as outputs:
83
  outputs=[
84
  gr.Image(label="Generated Minecraft Skin Image Asset"),
85
  gr.Model3D(clear_color=[0.0, 0.0, 0.0, 0.0], label="3D Model")
86
  ]
87
 
88
+
89
+ submit_btn.click(
90
+ run_inference,
91
+ inputs,
92
+ outputs,
93
+ )
 
94
 
95
 
96