You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To create a public link, set share=True in launch().`
I get this error:
`ERROR : Attributeerror : module 'PIL.Image' has no attribute 'ANTIALIAS'
Traceback Info : File "C:\Python\ShortGPT\gui\ui_tab_short_automation.py", line 103, in create_short for step_num, step_info in shortEngine.makeContent(): File "C:\Python\ShortGPT\shortGPT\engine\abstract_content_engine.py", line 74, in makeContent self.stepDictcurrentStep File "C:\Python\ShortGPT\shortGPT\engine\content_short_engine.py", line 150, in _editAndRenderShort videoEditor.renderVideo(outputPath, logger= self.logger if self.logger is not self.default_logger else None) File "C:\Python\ShortGPT\shortGPT\editing_framework\editing_engine.py", line 97, in renderVideo engine.generate_video(self.schema, outputPath, logger=logger) File "C:\Python\ShortGPT\shortGPT\editing_framework\core_editing_engine.py", line 53, in generate_video clip = self.process_video_asset(asset) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Python\ShortGPT\shortGPT\editing_framework\core_editing_engine.py", line 201, in process_video_asset return self.process_common_visual_actions(clip, asset['actions']) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Python\ShortGPT\shortGPT\editing_framework\core_editing_engine.py", line 137, in process_common_visual_actions clip = clip.resize(**action['param']) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "Y:\Programlar\miniconda3\Lib\site-packages\moviepy\video\fx\resize.py", line 152, in resize newclip = clip.fl_image(fl) ^^^^^^^^^^^^^^^^^ File "Y:\Programlar\miniconda3\Lib\site-packages\moviepy\video\VideoClip.py", line 490, in fl_image return self.fl(lambda gf, t: image_func(gf(t)), apply_to) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "Y:\Programlar\miniconda3\Lib\site-packages\moviepy\Clip.py", line 136, in fl newclip = self.set_make_frame(lambda t: fun(self.get_frame, t)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "", line 2, in set_make_frame File "Y:\Programlar\miniconda3\Lib\site-packages\moviepy\decorators.py", line 14, in outplace f(newclip, *a, **k) File "Y:\Programlar\miniconda3\Lib\site-packages\moviepy\video\VideoClip.py", line 644, in set_make_frame self.size = self.get_frame(0).shape[:2][::-1] ^^^^^^^^^^^^^^^^^ File "", line 2, in get_frame File "Y:\Programlar\miniconda3\Lib\site-packages\moviepy\decorators.py", line 89, in wrapper return f(*new_a, **new_kw) ^^^^^^^^^^^^^^^^^^^ File "Y:\Programlar\miniconda3\Lib\site-packages\moviepy\Clip.py", line 93, in get_frame return self.make_frame(t) ^^^^^^^^^^^^^^^^^^ File "Y:\Programlar\miniconda3\Lib\site-packages\moviepy\Clip.py", line 136, in newclip = self.set_make_frame(lambda t: fun(self.get_frame, t)) ^^^^^^^^^^^^^^^^^^^^^^ File "Y:\Programlar\miniconda3\Lib\site-packages\moviepy\video\VideoClip.py", line 490, in return self.fl(lambda gf, t: image_func(gf(t)), apply_to) ^^^^^^^^^^^^^^^^^ File "Y:\Programlar\miniconda3\Lib\site-packages\moviepy\video\fx\resize.py", line 150, in fl = lambda pic: resizer(pic.astype('uint8'), newsize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "Y:\Programlar\miniconda3\Lib\site-packages\moviepy\video\fx\resize.py", line 37, in resizer resized_pil = pilim.resize(newsize[::-1], Image.ANTIALIAS) ^^^^^^^^^^^^^^^
If the problem persists, don't hesitate to contact our support. We're here to assist you.`
Your Question
Hello, i get this error in 🎬 Automate the creation of shorts tabs
` - Requirements : List of requirements and installed version:
edge-tts==6.1.9
ffmpeg==1.4
ffmpeg-python==0.2.0
gradio==3.38.0==3.38.0
moviepy==1.0.3==1.0.3
openai==0.28.1==0.28.1
---> Error : pillow==9.0.0 is not installed
pillow==9.0.0==None
proglog==0.1.10
progress==1.6
protobuf==3.20.3==3.20.3
python-dotenv==1.0.0
questionary==2.0.1
tiktoken==0.5.2
tinydb==4.8.0
tinymongo==0.2.0
torch==2.1.2
torchaudio==2.1.2
whisper-timestamped==1.14.4
yt-dlp==2023.12.30
Running on local URL: http://0.0.0.0:31415
To create a public link, set
share=True
inlaunch()
.`I get this error:
`ERROR : Attributeerror : module 'PIL.Image' has no attribute 'ANTIALIAS'
Traceback Info : File "C:\Python\ShortGPT\gui\ui_tab_short_automation.py", line 103, in create_short for step_num, step_info in shortEngine.makeContent(): File "C:\Python\ShortGPT\shortGPT\engine\abstract_content_engine.py", line 74, in makeContent self.stepDictcurrentStep File "C:\Python\ShortGPT\shortGPT\engine\content_short_engine.py", line 150, in _editAndRenderShort videoEditor.renderVideo(outputPath, logger= self.logger if self.logger is not self.default_logger else None) File "C:\Python\ShortGPT\shortGPT\editing_framework\editing_engine.py", line 97, in renderVideo engine.generate_video(self.schema, outputPath, logger=logger) File "C:\Python\ShortGPT\shortGPT\editing_framework\core_editing_engine.py", line 53, in generate_video clip = self.process_video_asset(asset) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Python\ShortGPT\shortGPT\editing_framework\core_editing_engine.py", line 201, in process_video_asset return self.process_common_visual_actions(clip, asset['actions']) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Python\ShortGPT\shortGPT\editing_framework\core_editing_engine.py", line 137, in process_common_visual_actions clip = clip.resize(**action['param']) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "Y:\Programlar\miniconda3\Lib\site-packages\moviepy\video\fx\resize.py", line 152, in resize newclip = clip.fl_image(fl) ^^^^^^^^^^^^^^^^^ File "Y:\Programlar\miniconda3\Lib\site-packages\moviepy\video\VideoClip.py", line 490, in fl_image return self.fl(lambda gf, t: image_func(gf(t)), apply_to) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "Y:\Programlar\miniconda3\Lib\site-packages\moviepy\Clip.py", line 136, in fl newclip = self.set_make_frame(lambda t: fun(self.get_frame, t)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "", line 2, in set_make_frame File "Y:\Programlar\miniconda3\Lib\site-packages\moviepy\decorators.py", line 14, in outplace f(newclip, *a, **k) File "Y:\Programlar\miniconda3\Lib\site-packages\moviepy\video\VideoClip.py", line 644, in set_make_frame self.size = self.get_frame(0).shape[:2][::-1] ^^^^^^^^^^^^^^^^^ File "", line 2, in get_frame File "Y:\Programlar\miniconda3\Lib\site-packages\moviepy\decorators.py", line 89, in wrapper return f(*new_a, **new_kw) ^^^^^^^^^^^^^^^^^^^ File "Y:\Programlar\miniconda3\Lib\site-packages\moviepy\Clip.py", line 93, in get_frame return self.make_frame(t) ^^^^^^^^^^^^^^^^^^ File "Y:\Programlar\miniconda3\Lib\site-packages\moviepy\Clip.py", line 136, in newclip = self.set_make_frame(lambda t: fun(self.get_frame, t)) ^^^^^^^^^^^^^^^^^^^^^^ File "Y:\Programlar\miniconda3\Lib\site-packages\moviepy\video\VideoClip.py", line 490, in return self.fl(lambda gf, t: image_func(gf(t)), apply_to) ^^^^^^^^^^^^^^^^^ File "Y:\Programlar\miniconda3\Lib\site-packages\moviepy\video\fx\resize.py", line 150, in fl = lambda pic: resizer(pic.astype('uint8'), newsize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "Y:\Programlar\miniconda3\Lib\site-packages\moviepy\video\fx\resize.py", line 37, in resizer resized_pil = pilim.resize(newsize[::-1], Image.ANTIALIAS) ^^^^^^^^^^^^^^^
If the problem persists, don't hesitate to contact our support. We're here to assist you.`
My Pip List & Python Version:
python --version
Python 3.8.10
`Package Version
aiofiles 23.2.1
aiohttp 3.9.1
aiosignal 1.3.1
altair 5.2.0
annotated-types 0.6.0
anyio 4.2.0
asgiref 3.7.2
async-timeout 4.0.3
attrs 23.2.0
autobahn 23.1.2
Automat 22.10.0
backports.zoneinfo 0.2.1
Brotli 1.1.0
certifi 2023.7.22
cffi 1.16.0
charset-normalizer 3.3.2
click 8.1.7
colorama 0.4.6
constantly 23.10.4
contourpy 1.1.1
cryptography 41.0.7
cycler 0.12.1
Cython 3.0.8
dateparser 1.2.0
decorator 4.4.2
Django 4.2.9
dtw-python 1.3.1
easyocr 1.7.1
edge-tts 6.1.9
exceptiongroup 1.2.0
fastapi 0.109.0
ffmpeg 1.4
ffmpeg-python 0.2.0
ffmpy 0.3.1
filelock 3.13.1
fonttools 4.47.2
frozenlist 1.4.1
fsspec 2023.12.2
future 0.18.3
gradio 3.38.0
gradio_client 0.8.1
h11 0.14.0
httpcore 1.0.2
httpx 0.26.0
huggingface-hub 0.20.2
hyperlink 21.0.0
idna 3.6
image 1.5.33
imageio 2.33.1
imageio-ffmpeg 0.4.9
importlib-metadata 7.0.1
importlib-resources 6.1.1
incremental 22.10.0
Jinja2 3.1.3
jsonschema 4.21.1
jsonschema-specifications 2023.12.1
kiwisolver 1.4.5
lazy_loader 0.3
linkify-it-py 2.0.2
llvmlite 0.41.1
markdown-it-py 2.2.0
MarkupSafe 2.1.4
matplotlib 3.7.4
mdit-py-plugins 0.3.3
mdurl 0.1.2
more-itertools 10.2.0
moviepy 1.0.3
mpmath 1.3.0
multidict 6.0.4
mutagen 1.47.0
networkx 3.1
ninja 1.11.1.1
numba 0.58.1
numpy 1.24.4
openai 0.28.1
openai-whisper 20231117
opencv-python-headless 4.9.0.80
orjson 3.9.12
packaging 23.2
pandas 2.0.3
Pillow 9.0.0
pip 23.3.2
pkgutil_resolve_name 1.3.10
proglog 0.1.10
progress 1.6
prompt-toolkit 3.0.36
protobuf 3.20.0
pyasn1 0.5.1
pyasn1-modules 0.3.0
pyclipper 1.3.0.post5
pycparser 2.21
pycryptodomex 3.20.0
pydantic 2.5.3
pydantic_core 2.14.6
pydub 0.25.1
pyOpenSSL 23.3.0
pyparsing 3.1.1
python-bidi 0.4.2
python-binance 0.7.9
python-dateutil 2.8.2
python-dotenv 1.0.0
python-multipart 0.0.6
pytz 2023.3.post1
PyWavelets 1.4.1
PyYAML 6.0.1
questionary 2.0.1
referencing 0.32.1
regex 2023.12.25
requests 2.31.0
rpds-py 0.17.1
scikit-image 0.21.0
scipy 1.10.1
semantic-version 2.10.0
service-identity 24.1.0
setuptools 69.0.3
shapely 2.0.2
shortgpt 0.1.31
six 1.16.0
sniffio 1.3.0
sqlparse 0.4.4
starlette 0.35.1
sympy 1.12
tifffile 2023.7.10
tiktoken 0.5.2
tinydb 4.8.0
tinydb-serialization 2.1.1
tinymongo 0.2.0
toolz 0.12.0
torch 2.1.2
torchaudio 2.1.2
torchvision 0.16.2
tqdm 4.66.1
Twisted 23.10.0
twisted-iocpsupport 1.0.4
txaio 23.1.1
typing_extensions 4.9.0
tzdata 2023.4
tzlocal 5.2
uc-micro-py 1.0.2
ujson 5.9.0
urllib3 2.1.0
uvicorn 0.26.0
wcwidth 0.2.13
websockets 11.0.3
whisper-timestamped 1.14.4
yarl 1.9.4
yt-dlp 2023.11.16
zipp 3.17.0
zope.interface 6.1`
The text was updated successfully, but these errors were encountered: