复制该space报错

#3
by LeafLeafLeaf - opened

之前复制该space正常运行,现在复制之后启动异常。报错内容:
Exit code: 1. Reason: Matplotlib created a temporary cache directory at /tmp/matplotlib-s1ha4n54 because the default path (/home/user/.config/matplotlib) is not a writable directory; it is highly recommended to set the MPLCONFIGDIR environment variable to a writable directory, in particular to speed up the import of Matplotlib and to better support multiprocessing.
Traceback (most recent call last):
File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/usr/lib/python3.10/runpy.py", line 86, in _run_code
exec(code, run_globals)
File "/home/user/app/meme-generator/meme_generator/app.py", line 19, in
from meme_generator.utils import MemeProperties, render_meme_list, run_sync
ImportError: cannot import name 'MemeProperties' from 'meme_generator.utils' (/home/user/app/meme-generator/meme_generator/utils.py)

image.png

me too, waiting
我自己写了一个,也能用
https://huggingface.co/spaces/LeafLeafLeaf/mememe

Sign up or log in to comment