GAF to add descriptions to settings
This commit is contained in:
parent
baa241ca14
commit
72e545a0da
@ -1,10 +1,12 @@
|
||||
import os
|
||||
#The hostname used by this app
|
||||
HOSTNAME:str = os.getenv('HOSTNAME') #localhost
|
||||
HOSTNAME:str = os.getenv('HOSTNAME') #localhost or some name
|
||||
#The port to broadcast the server
|
||||
SERVERPORT:int = int(os.getenv('SERVERPORT')) #8087
|
||||
SERVERPORT:int = int(os.getenv('SERVERPORT')) #8087 or the port you want to run on. pass in with docker -e command.
|
||||
#The API key for OpenAI
|
||||
APIKEY:str = os.getenv('APIKEY') #secret key
|
||||
APIKEY:str = os.getenv('APIKEY') #secret key from OpenAPI website
|
||||
if APIKEY is None:
|
||||
raise Exception("APIKEY Environmental Variable must be set")
|
||||
#The hash key
|
||||
HASHKEY:str = os.getenv('HASHKEY') #shared secret for hmac of message
|
||||
#The prompts used for OpenAI.
|
||||
|
Loading…
x
Reference in New Issue
Block a user