yizhangliu commited on
Commit
3f8d4e8
·
1 Parent(s): 5f94887

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -5,6 +5,7 @@ from loguru import logger
5
  def chat(text):
6
  try:
7
  session_token = os.environ.get('SessionToken')
 
8
  api = ChatGPT(session_token)
9
  resp = api.send_message(text)
10
  api.refresh_auth()
 
5
  def chat(text):
6
  try:
7
  session_token = os.environ.get('SessionToken')
8
+ logger.info(f"session_token_: {session_token}")
9
  api = ChatGPT(session_token)
10
  resp = api.send_message(text)
11
  api.refresh_auth()