rest-api-server / config.py
mattoofahaddcube's picture
adding hf token read
16c5840
raw
history blame contribute delete
183 Bytes
import os
from dotenv import find_dotenv, load_dotenv
load_dotenv(find_dotenv(), override=True)
LOGGER_LEVEL = os.getenv("LOGGER_LEVEL")
READ_HF_TOKEN = os.getenv("READ_HF_TOKEN")