yuntian-deng commited on
Commit
95a146c
·
verified ·
1 Parent(s): a887949

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -4
app.py CHANGED
@@ -34,12 +34,8 @@ def predict(inputs, top_p, temperature, chat_counter, chatbot, history, request:
34
  }
35
  OPENAI_API_KEY = random.choice(OPENAI_API_KEYS)
36
  print (OPENAI_API_KEY)
37
- print ('here')
38
- print (request.headers)
39
- print (request.headers.raw)
40
 
41
  headers_dict = {key.decode('utf-8'): value.decode('utf-8') for key, value in request.headers.raw}
42
- print ('here22')
43
 
44
  headers = {
45
  "Content-Type": "application/json",
 
34
  }
35
  OPENAI_API_KEY = random.choice(OPENAI_API_KEYS)
36
  print (OPENAI_API_KEY)
 
 
 
37
 
38
  headers_dict = {key.decode('utf-8'): value.decode('utf-8') for key, value in request.headers.raw}
 
39
 
40
  headers = {
41
  "Content-Type": "application/json",