【文件属性】:
文件名称:udacity_meme_generator:udacity python nanodegree项目
文件大小:2.52MB
文件格式:ZIP
更新时间:2021-04-04 07:54:57
Python
Udacity Meme Generator
udacity python nanodegree的最终项目
安装
创建虚拟环境并使用
pip install -r requirements.txt
安装所有依赖项。
之后,使用
python3 app.py
启动应用程序。
运行meme.py
要运行meme.py,请在您的虚拟环境中安装requirements.txt文件,然后键入
python3 meme.py
它会在静态文件夹中创建一个带有随机引号的模因。
(子)模型
该项目由负责所有图像处理的MemeEngine和负责从PDF,Doc,Txt或CSV文件读取报价的QuoteEngine组成。
【文件预览】:
udacity_meme_generator-main
----app.py(2KB)
----templates()
--------meme.html(128B)
--------meme_form.html(1KB)
--------base.html(1KB)
----meme.py(2KB)
----QuoteEngine()
--------IngestorInterface.py(418B)
--------Ingestor.py(561B)
--------TextIngestor.py(737B)
--------DocxIngestor.py(652B)
--------__init__.py(218B)
--------PDFIngestor.py(886B)
--------QuoteModel.py(168B)
--------CSVIngestor.py(584B)
----MemeEngine()
--------MemeEngine.py(2KB)
--------__init__.py(34B)
----requirements.txt(319B)
----.gitignore(2KB)
----_data()
--------photos()
--------DogQuotes()
--------SimpleLines()
----README.md(656B)