TensorLM-webui-for-HF / modules /load_configure.py
ehristoforu's picture
Upload folder using huggingface_hub
bca5262 verified
raw
history blame
468 Bytes
from dotenv import load_dotenv
import os
load_dotenv("configure.txt")
# System #
global tlm_version
tlm_version = os.getenv("tlm_version")
global echo
echo = os.getenv("echo")
global share_server_protocol
share_server_protocol = os.getenv("share_server_protocol")
# UI #
global theme
theme = os.getenv("theme")
global chat_style
chat_style = os.getenv("chat_style")
global footer
footer = os.getenv("footer")
global show_api
show_api = os.getenv("show_api")