Yusin commited on
Commit
bbcebca
1 Parent(s): 08ab5cc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -2
app.py CHANGED
@@ -26,11 +26,9 @@ chat_id = {'conversation_id': None, 'parent_id': None}
26
  headers = {'Authorization': 'yusin'}
27
 
28
  async def chat_gpt_ask(prompt):
29
- print(session_token)
30
  chat_gpt = PyGPT(session_token)
31
  await chat_gpt.connect()
32
  await chat_gpt.wait_for_ready()
33
- print(prompt)
34
  answer = await chat_gpt.ask(prompt)
35
  print(answer)
36
  await chat_gpt.disconnect()
 
26
  headers = {'Authorization': 'yusin'}
27
 
28
  async def chat_gpt_ask(prompt):
 
29
  chat_gpt = PyGPT(session_token)
30
  await chat_gpt.connect()
31
  await chat_gpt.wait_for_ready()
 
32
  answer = await chat_gpt.ask(prompt)
33
  print(answer)
34
  await chat_gpt.disconnect()