Spaces:
vilarin
/
Running on Zero

vilarin commited on
Commit
a775243
1 Parent(s): 8bfe8b7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -2
app.py CHANGED
@@ -104,7 +104,6 @@ def generate_image(
104
  guidance_scale=scale,
105
  num_inference_steps=steps,
106
  generator = generator,
107
- tokenizer_max_length = 512,
108
  )
109
  else:
110
  image = pipe(
@@ -115,7 +114,6 @@ def generate_image(
115
  guidance_scale=scale,
116
  num_inference_steps=steps,
117
  generator = generator,
118
- tokenizer_max_length = 512,
119
  )
120
  return image.images[0]
121
 
 
104
  guidance_scale=scale,
105
  num_inference_steps=steps,
106
  generator = generator,
 
107
  )
108
  else:
109
  image = pipe(
 
114
  guidance_scale=scale,
115
  num_inference_steps=steps,
116
  generator = generator,
 
117
  )
118
  return image.images[0]
119