pengdaqian commited on
Commit
4eb6ffc
1 Parent(s): 8369427
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -52,6 +52,7 @@ re_sampler = [
52
  rand = random.Random()
53
  translator = google_translator()
54
 
 
55
  # tiny_pipe = get_sd_tiny()
56
  # small_pipe = get_sd_small()
57
  # every_pipe = get_sd_every()
@@ -116,7 +117,6 @@ def infer(prompt: str, negative: str, width: int, height: int, sampler: str, ste
116
  translate_prompt = prompt
117
  translate_negative = negative
118
 
119
-
120
  output = replicate.run(
121
  "stability-ai/stable-diffusion:db21e45d3f7023abc2a46ee38a23973f6dce16bb082a930b0c49861f96d1e5bf",
122
  input={
@@ -337,7 +337,7 @@ examples = list(map(lambda x: [
337
  'low quality',
338
  512,
339
  512,
340
- 'ddim',
341
  30,
342
  0,
343
  9
 
52
  rand = random.Random()
53
  translator = google_translator()
54
 
55
+
56
  # tiny_pipe = get_sd_tiny()
57
  # small_pipe = get_sd_small()
58
  # every_pipe = get_sd_every()
 
117
  translate_prompt = prompt
118
  translate_negative = negative
119
 
 
120
  output = replicate.run(
121
  "stability-ai/stable-diffusion:db21e45d3f7023abc2a46ee38a23973f6dce16bb082a930b0c49861f96d1e5bf",
122
  input={
 
337
  'low quality',
338
  512,
339
  512,
340
+ 'DPMSolverMultistep',
341
  30,
342
  0,
343
  9