Skip to content
Snippets Groups Projects
Commit 3eec95d2 authored by Hyunseok_Sang's avatar Hyunseok_Sang
Browse files

서버에서 사용되는 설정값을 관리하기 위한 config.py 추가

parent 94b83691
No related branches found
No related tags found
No related merge requests found
import json
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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment