Commit b417042
Fix wrong type checking in
* Fix type checking remainders
* Remove IS_V20_MODEL flag always being True
Co-authored-by: apolinario <[email protected]>convert_diffusers_to_original_stable_diffusion.py (huggingface#1681)1 parent 40c16ed commit b417042
1 file changed
+2
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
209 | 209 | | |
210 | 210 | | |
211 | 211 | | |
212 | | - | |
| 212 | + | |
213 | 213 | | |
214 | 214 | | |
215 | 215 | | |
| |||
256 | 256 | | |
257 | 257 | | |
258 | 258 | | |
259 | | - | |
| 259 | + | |
260 | 260 | | |
261 | 261 | | |
262 | 262 | | |
263 | | - | |
264 | | - | |
265 | 263 | | |
266 | 264 | | |
267 | 265 | | |
| |||
0 commit comments