From 19e62f572453b3e1e65902a223a10009fefcf7b1 Mon Sep 17 00:00:00 2001 From: jwkim Date: Mon, 14 Apr 2025 13:06:13 +0900 Subject: [PATCH] =?UTF-8?q?edit=20:=20cloud=20=EA=B3=84=EC=A0=95=20?= =?UTF-8?q?=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 6 ++++++ custom_apps/imagen/custom_imagen.py | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index af86aa8..574c72e 100644 --- a/README.md +++ b/README.md @@ -13,6 +13,12 @@ RESTful API Server ``` https://cloud.google.com/sdk/docs/install?hl=ko#linux ``` + ``` + gcloud init + gcloud auth application-default login + ``` + https://cloud.google.com/docs/authentication/set-up-adc-local-dev-environment?hl=ko + ### cookie ``` https://github.com/acheong08/BingImageCreator diff --git a/custom_apps/imagen/custom_imagen.py b/custom_apps/imagen/custom_imagen.py index d449769..e506997 100644 --- a/custom_apps/imagen/custom_imagen.py +++ b/custom_apps/imagen/custom_imagen.py @@ -10,7 +10,7 @@ from rest.app.utils.date_utils import D class ImagenConst: - project_id = "imagen-447301" + project_id = "glasses-imagen" location = "asia-east1" model = "imagen-3.0-generate-001"