SMarioMan commited on
Commit
94d4d18
1 Parent(s): c5a6293

More fixes

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -103,21 +103,21 @@ with gr.Blocks(css=css) as demo:
103
  """,
104
  elem_id="intro",
105
  )
106
-
107
  prompt = gr.Textbox(
108
- placeholder="Insert your prompt here:", scale=5, container=False
109
  )
110
  negative_prompt = gr.Textbox(
111
- placeholder="Insert your negative prompt here:", scale=5, container=False
112
  )
113
  generate_bt = gr.Button("Generate", scale=1)
114
 
115
  image = gr.Image(type="filepath")
116
  with gr.Accordion("Advanced options", open=True):
117
  guidance = gr.Slider(
118
- label="Guidance", minimum=0.0, maximum=5, value=0.3, step=0.001
119
  )
120
- steps = gr.Slider(label="Steps", value=4, minimum=1, maximum=20, step=1)
121
  seed = gr.Slider(
122
  randomize=True, minimum=0, maximum=12013012031030, label="Seed", step=1
123
  )
 
103
  """,
104
  elem_id="intro",
105
  )
106
+
107
  prompt = gr.Textbox(
108
+ placeholder="Insert your prompt here:", lines= 4, container=False
109
  )
110
  negative_prompt = gr.Textbox(
111
+ placeholder="Insert your negative prompt here:", lines= 4, container=False
112
  )
113
  generate_bt = gr.Button("Generate", scale=1)
114
 
115
  image = gr.Image(type="filepath")
116
  with gr.Accordion("Advanced options", open=True):
117
  guidance = gr.Slider(
118
+ label="Guidance", minimum=0.0, maximum=5, value=1.5, step=0.001
119
  )
120
+ steps = gr.Slider(label="Steps", value=8, minimum=1, maximum=50, step=1)
121
  seed = gr.Slider(
122
  randomize=True, minimum=0, maximum=12013012031030, label="Seed", step=1
123
  )