Update config.py

Modify config
This commit is contained in:
qutcat1997 2023-07-11 23:06:41 +08:00 committed by GitHub
parent 151c443a0d
commit 189b0b4eed

View File

@ -28,6 +28,8 @@ class Config(metaclass=Singleton):
self.skip_reprompt = False
self.temperature = float(os.getenv("TEMPERATURE", 0.7))
self.NUM_GPUS = int(os.getenv("NUM_GPUS",1))
self.execute_local_commands = (
os.getenv("EXECUTE_LOCAL_COMMANDS", "False") == "True"
)