File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1010line_handler = WebhookHandler (os .getenv ("LINE_CHANNEL_SECRET" ))
1111working_status = os .getenv ("DEFALUT_TALKING" , default = "true" ).lower () == "true"
1212
13- print (( os .getenv ("DEFALUT_TALKING" ) ))
14- print (( os .getenv ("LINE_CHANNEL_SECRET" ) ))
15- print (( os .getenv ("LINE_CHANNEL_ACCESS_TOKEN" ) ))
13+ print (os .getenv ("DEFALUT_TALKING" ))
14+ print (os .getenv ("LINE_CHANNEL_SECRET" ))
15+ print (os .getenv ("LINE_CHANNEL_ACCESS_TOKEN" ))
1616print (os .getenv ("OPENAI_MODEL" , default = "text-davinci-003" ))
1717print (int (os .getenv ("OPENAI_TEMPERATURE" , default = 0 )))
18- print (int (os .getenv ("OPENAI_FREQUENCY_PENALTY" , default = 0 ))
19- print (float (os .getenv ("OPENAI_PRESENCE_PENALTY" , default = 0.6 ))
20- print (int (os .getenv ("OPENAI_MAX_TOKENS" , default = 240 ))
18+ print (int (os .getenv ("OPENAI_FREQUENCY_PENALTY" , default = 0 )))
19+ print (float (os .getenv ("OPENAI_PRESENCE_PENALTY" , default = 0.6 )))
20+ print (int (os .getenv ("OPENAI_MAX_TOKENS" , default = 240 )))
2121
2222app = Flask (__name__ )
2323chatgpt = ChatGPT ()
You can’t perform that action at this time.
0 commit comments