Skip to content
Snippets Groups Projects
Commit 94f93a8d authored by Hyunseok_Sang's avatar Hyunseok_Sang
Browse files

minor update

parent 112ec252
No related branches found
No related tags found
No related merge requests found
......@@ -8,3 +8,5 @@ config.json
*.jpg
test.py
ssfshop/
google_key.json
image_processing_app/Dockerfile
onnxruntime
opencv-python
google-cloud-vision
python-dotenv
openai
retina-face
flask
python-dotenv
\ No newline at end of file
import json
from dotenv import load_dotenv
import os
def load_config(file_path):
with open(file_path, 'r') as file:
config_data = json.load(file)
return config_data
config = load_config('../conf/config.json')
unet_model_location = config["unet_model_location"]
dallE_api_key = config["dallE_api_key"]
\ No newline at end of file
unet_model_location = os.getenv('UNET_MODEL_LOCATION')
dallE_api_key = os.getenv('DallE_API_KEY')
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment