gsbm commited on
Commit
c4f511b
·
verified ·
1 Parent(s): 0e124a3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -3
app.py CHANGED
@@ -83,6 +83,8 @@ def generate_image(
83
 
84
  examples = [
85
  "A texture of wooden planks, grey wood, high contrast",
 
 
86
  ]
87
 
88
  with gr.Blocks(css="style.css") as demo:
@@ -97,8 +99,9 @@ with gr.Blocks(css="style.css") as demo:
97
  container=False,
98
  )
99
  run_button = gr.Button("Run", scale=0)
100
- result_image = gr.Image(label="Texture", show_label=True)
101
- result_normal = gr.Image(label="Normal", show_label=True)
 
102
  with gr.Accordion("Advanced options", open=False):
103
  with gr.Row():
104
  use_negative_prompt = gr.Checkbox(label="Use negative prompt", value=True)
@@ -123,7 +126,6 @@ with gr.Blocks(css="style.css") as demo:
123
  placeholder="Enter a negative prompt",
124
  visible=False,
125
  )
126
-
127
  seed = gr.Slider(
128
  label="Seed",
129
  minimum=0,
 
83
 
84
  examples = [
85
  "A texture of wooden planks, grey wood, high contrast",
86
+ "A 4K texture of cobblestone, rocks, hd material",
87
+ "A texture of sandstone, light grey, seamless",
88
  ]
89
 
90
  with gr.Blocks(css="style.css") as demo:
 
99
  container=False,
100
  )
101
  run_button = gr.Button("Run", scale=0)
102
+ with gr.Row():
103
+ result_image = gr.Image(label="Texture", show_label=True)
104
+ result_normal = gr.Image(label="Normal", show_label=True)
105
  with gr.Accordion("Advanced options", open=False):
106
  with gr.Row():
107
  use_negative_prompt = gr.Checkbox(label="Use negative prompt", value=True)
 
126
  placeholder="Enter a negative prompt",
127
  visible=False,
128
  )
 
129
  seed = gr.Slider(
130
  label="Seed",
131
  minimum=0,