Change 'use_gated_attention' to str type

#2
by nikhilg - opened

@liuhaotian I've been working on adding GLIGEN to diffusers. Here's the PR, It will be helpful if you could review it.

To make sure we can extend config variable going forward, could we please make this string-type as shown in the below screenshot ? @sayakpaul also recommends the same.

attention_type.png

Sign up or log in to comment