Merunes commited on
Commit
70d652d
·
verified ·
1 Parent(s): e142bc6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -85,8 +85,8 @@ with gr.Blocks(css=css) as demo:
85
  negative_prompt = gr.Text(
86
  label="Negative prompt",
87
  max_lines=1,
88
- placeholder="Enter a negative prompt",
89
- visible=False,
90
  )
91
 
92
  seed = gr.Slider(
@@ -94,7 +94,7 @@ with gr.Blocks(css=css) as demo:
94
  minimum=0,
95
  maximum=MAX_SEED,
96
  step=1,
97
- value=0,
98
  )
99
 
100
  randomize_seed = gr.Checkbox(label="Randomize seed", value=True)
@@ -122,7 +122,7 @@ with gr.Blocks(css=css) as demo:
122
  minimum=0.0,
123
  maximum=10.0,
124
  step=0.1,
125
- value=0.0, # Replace with defaults that work for your model
126
  )
127
 
128
  num_inference_steps = gr.Slider(
@@ -130,7 +130,7 @@ with gr.Blocks(css=css) as demo:
130
  minimum=1,
131
  maximum=50,
132
  step=1,
133
- value=2, # Replace with defaults that work for your model
134
  )
135
 
136
  gr.Examples(examples=examples, inputs=[prompt])
 
85
  negative_prompt = gr.Text(
86
  label="Negative prompt",
87
  max_lines=1,
88
+ placeholder="dog, cat",
89
+ visible=True,
90
  )
91
 
92
  seed = gr.Slider(
 
94
  minimum=0,
95
  maximum=MAX_SEED,
96
  step=1,
97
+ value=42,
98
  )
99
 
100
  randomize_seed = gr.Checkbox(label="Randomize seed", value=True)
 
122
  minimum=0.0,
123
  maximum=10.0,
124
  step=0.1,
125
+ value=7.0, # Replace with defaults that work for your model
126
  )
127
 
128
  num_inference_steps = gr.Slider(
 
130
  minimum=1,
131
  maximum=50,
132
  step=1,
133
+ value=20, # Replace with defaults that work for your model
134
  )
135
 
136
  gr.Examples(examples=examples, inputs=[prompt])