PSaiml commited on
Commit
853b995
·
1 Parent(s): 89606c2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -54,7 +54,7 @@ def infer(prompt, n_samples, steps, scale, seed):
54
  im = Image.open(BytesIO(base64.b64decode(image['image_base64'])))
55
  images.append(im)
56
 
57
- response = safe_sd(prompt, int(n_samples), max(50,int(steps)), scale, seed, mode="safe_text2img")
58
 
59
  data = json.load(BytesIO(response.content))
60
  if 'output' not in data:
 
54
  im = Image.open(BytesIO(base64.b64decode(image['image_base64'])))
55
  images.append(im)
56
 
57
+ response = safe_sd(prompt, int(n_samples), max(50,int(steps)), scale, seed, mode="text2img")
58
 
59
  data = json.load(BytesIO(response.content))
60
  if 'output' not in data: