randomtable commited on
Commit
1b29086
1 Parent(s): d9f3e5b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -7
app.py CHANGED
@@ -68,13 +68,7 @@ with gr.Blocks(css=css) as demo:
68
  placeholder="Enter your prompt",
69
  container=False,
70
  )
71
-
72
- run_button = gr.Button("Run", scale=0)
73
-
74
- result = gr.Image(label="Result", show_label=False)
75
 
76
- with gr.Accordion("Advanced Settings", open=False):
77
-
78
  negative_prompt = gr.Text(
79
  label="Negative prompt",
80
  max_lines=1,
@@ -82,6 +76,12 @@ with gr.Blocks(css=css) as demo:
82
  visible=False,
83
  )
84
 
 
 
 
 
 
 
85
  seed = gr.Slider(
86
  label="Seed",
87
  minimum=0,
@@ -123,7 +123,7 @@ with gr.Blocks(css=css) as demo:
123
  num_inference_steps = gr.Slider(
124
  label="Number of inference steps",
125
  minimum=1,
126
- maximum=50,
127
  step=1,
128
  value=2, #Replace with defaults that work for your model
129
  )
 
68
  placeholder="Enter your prompt",
69
  container=False,
70
  )
 
 
 
 
71
 
 
 
72
  negative_prompt = gr.Text(
73
  label="Negative prompt",
74
  max_lines=1,
 
76
  visible=False,
77
  )
78
 
79
+ run_button = gr.Button("Run", scale=0)
80
+
81
+ result = gr.Image(label="Result", show_label=False)
82
+
83
+ with gr.Accordion("Advanced Settings", open=False):
84
+
85
  seed = gr.Slider(
86
  label="Seed",
87
  minimum=0,
 
123
  num_inference_steps = gr.Slider(
124
  label="Number of inference steps",
125
  minimum=1,
126
+ maximum=150,
127
  step=1,
128
  value=2, #Replace with defaults that work for your model
129
  )