From 8c8cb29cc4eee42f6e5223598e4818ba3dfd9e8f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Wuyi=E6=97=A0=E7=96=91?= <444835641@qq.com> Date: Sun, 21 Nov 2021 02:19:41 +0800 Subject: [PATCH] fix --- getImg.py | 1 + requirements.txt | 1 + 2 files changed, 2 insertions(+) diff --git a/getImg.py b/getImg.py index e43e0dd0..a7715854 100644 --- a/getImg.py +++ b/getImg.py @@ -5,6 +5,7 @@ from io import BytesIO import urllib import math from wordcloud import WordCloud +import numpy as np from PIL import Image, ImageDraw, ImageFont, ImageFilter diff --git a/requirements.txt b/requirements.txt index fbf06bfe..52f0c44b 100644 --- a/requirements.txt +++ b/requirements.txt @@ -2,3 +2,4 @@ nonebot==1.8.2 requests==2.25.1 httpx==0.18.1 Pillow==8.3.1 +wordcloud>=1.8.1