Capture and share every wonderful moment.
Example application for Python Web Development with Flask (《Flask Web 开发实战》).
Demo: http://albumy.helloflask.com
clone:
$ git clone https://github.com/umar07/albumy.git
$ cd albumy
create & activate virtual env then install dependency:
with venv/virtualenv + pip:
$ python -m venv env # use `virtualenv env` for Python2, use `python3 ...` for Python3 on Linux & macOS
$ source env/bin/activate # use `env\Scripts\activate` on Windows
$ pip install -r requirements.txt
Download pretrained model:
$ wget https://storage.googleapis.com/sfr-vision-language-research/BLIP/models/model_base_capfilt_large.pth
$ wget https://github.com/ultralytics/assets/releases/download/v0.0.0/yolov8n.pt
generate fake data then run:
$ flask forge
$ flask run
* Running on http://127.0.0.1:5000/
Test account:
- email:
admin@helloflask.com
- password:
helloflask
This project is licensed under the MIT License (see the LICENSE file for details).