Shuang59 commited on
Commit
df9430e
β€’
1 Parent(s): 2b95c91

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -273,8 +273,8 @@ def compose_clevr_objects(prompt, guidance_scale):
273
  return out_img
274
 
275
 
276
- def compose(prompt, ver, guidance_scale):
277
- if ver == 'GLIDE':
278
  return compose_language_descriptions(prompt, guidance_scale)
279
  else:
280
  return compose_clevr_objects(prompt, guidance_scale)
 
273
  return out_img
274
 
275
 
276
+ def compose(prompt, version, guidance_scale):
277
+ if version == 'GLIDE':
278
  return compose_language_descriptions(prompt, guidance_scale)
279
  else:
280
  return compose_clevr_objects(prompt, guidance_scale)