ai-forever / ai-forever/Kandinsky-2

Deprecation warning

未關閉
#9 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
Jupyter Notebook
星號
2.8k
分支
319
PR 合併指標
30 天內沒有已合併 PR

描述

Importing Kandinsky issues a deprecation warning:
```
>>> from kandinsky2 import get_kandinsky2
/usr/lib/python3/dist-packages/pkg_resources/__init__.py:116: PkgResourcesDeprecationWarning: 1.1build1 is an invalid version and will not be supported in a future release
warnings.warn(
```

Getting kandinsky issues a future warning:
```
>>> model = get_kandinsky2('cuda', task_type='text2img')
/usr/local/lib/python3.10/dist-packages/huggingface_hub/file_download.py:637: FutureWarning: `cached_download` is the legacy way to download files from the HF hub, please consider upgrading to `hf_hub_download`
warnings.warn(
```

貢獻指南

這個儲存庫沒有索引到貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。