Skip to content

ayako/RetailPopGenerator

Repository files navigation

RetailPopGenerator

Retail Store POP Generator

小売店舗の POP (テキストと画像) を自動生成します。/ Auto-create POP (text and image) for retail stores.

POP Generator Screenshot

利用方法 | Usage

前提条件 | Prerequisites

  • 以下のいずれか / either of
    • Node.js v16 以上 / Node.js v16 or higher
    • Python 3.8 以上 / Python 3.8 or higher
  • チャットおよび画像生成用の Azure OpenAI リソース / Azure OpenAI resource with chat and image deployments (GPT-4o-mini && GPT-Image-1)

インストール | Installation

# 仮想環境の作成と有効化 / Create and activate virtual environment
python -m venv .venv
.\.venv\Scripts\Activate.ps1

# 依存パッケージのインストール / Install dependencies
## Node.js
cd js
npm install
## Python
cd py
pip install -r requirements.txt

設定方法 | Configuration

.env_sample.env としてプロジェクトルートにコピーし、以下の変数を設定してください。 / Copy .env_sample to .env in the project root and set the following variables:

AOAI_ENDPOINT=<your-azure-openai-endpoint>
AOAI_KEY=<your-azure-openai-key>
AOAI_API_VERSION=<api-version>
AOAI_CHAT_DEPLOYMENT_NAME=<chat-deployment-name>
AOAI_IMAGE_DEPLOYMENT_NAME=<image-deployment-name>

実行方法 | Running the App

## Node.js
npm start   #from *js* directory
## Python
streamlit run main.py   #from *py* directory

About

Retail Store POP Generator

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors