質問編集履歴

1

修正

2022/11/10 06:13

投稿

shirouto3
shirouto3

スコア1

test CHANGED
File without changes
test CHANGED
@@ -1,3 +1,4 @@
1
+ ```python
1
2
  Python 3.10.8 (tags/v3.10.8:aaaf517, Oct 11 2022, 16:50:30) [MSC v.1933 64 bit (AMD64)] on win32
2
3
  Type "help", "copyright", "credits" or "license" for more information.
3
4
  >>> from diffusers import DiffusionPipeline
@@ -18,6 +19,7 @@
18
19
  File "C:\Users\〇〇\AppData\Local\Programs\Python\Python310\lib\site-packages\diffusers\utils\outputs.py", line 88, in __getitem__
19
20
  return inner_dict[k]
20
21
  KeyError: 'sample'
22
+ ```
21
23
 
22
24
  以上のような表示が出ました。どこを直したらKeyErrorがなくなるでしょうか。
23
25
  初心者ですので質問が分かりにくいと思いますが何卒よろしくお願いします。