whatdoesrealitymean commited on
Commit
1b21913
·
verified ·
1 Parent(s): 8f8d06d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -19,7 +19,7 @@ pipe = pipe.to(device)
19
  pipe.scheduler = DPMSolverMultistepScheduler.from_config(pipe.scheduler.config, algorithm_type="sde-dpmsolver++", use_karras_sigmas=True)
20
 
21
  MAX_SEED = np.iinfo(np.int32).max
22
- MAX_IMAGE_SIZE = 1024
23
 
24
 
25
  @spaces.GPU #[uncomment to use ZeroGPU]
@@ -81,7 +81,7 @@ with gr.Blocks(css=css) as demo:
81
  label="Negative prompt",
82
  max_lines=7,
83
  placeholder="Enter a negative prompt",
84
- value="watermark, unrealistic, missing details, worst quality, poorly drawn face, manga, cartoon, flattened, painting, deformed, ugly, fake, fictional, retouched, Photoshop, artificial, bland"
85
  )
86
 
87
  seed = gr.Slider(
@@ -125,7 +125,7 @@ with gr.Blocks(css=css) as demo:
125
  minimum=1,
126
  maximum=50,
127
  step=1,
128
- value=25, # Replace with defaults that work for your model
129
  )
130
 
131
 
 
19
  pipe.scheduler = DPMSolverMultistepScheduler.from_config(pipe.scheduler.config, algorithm_type="sde-dpmsolver++", use_karras_sigmas=True)
20
 
21
  MAX_SEED = np.iinfo(np.int32).max
22
+ MAX_IMAGE_SIZE = 1280
23
 
24
 
25
  @spaces.GPU #[uncomment to use ZeroGPU]
 
81
  label="Negative prompt",
82
  max_lines=7,
83
  placeholder="Enter a negative prompt",
84
+ value=""
85
  )
86
 
87
  seed = gr.Slider(
 
125
  minimum=1,
126
  maximum=50,
127
  step=1,
128
+ value=30, # Replace with defaults that work for your model
129
  )
130
 
131