cyy0209 commited on
Commit
eb30d18
1 Parent(s): 6190eae

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -63,6 +63,7 @@ def predict(openai_gpt4_key, system_msg, inputs, top_p, temperature, chat_counte
63
  chat_counter+=1
64
 
65
  history.append(inputs)
 
66
  print(f"Logging : payload is - {payload}")
67
  # make a POST request to the API endpoint using the requests.post method, passing in stream=True
68
  response = requests.post(API_URL, headers=headers, json=payload, stream=True)
 
63
  chat_counter+=1
64
 
65
  history.append(inputs)
66
+ print(f"Logging : openai_gpt4_key is - {openai_gpt4_key}")
67
  print(f"Logging : payload is - {payload}")
68
  # make a POST request to the API endpoint using the requests.post method, passing in stream=True
69
  response = requests.post(API_URL, headers=headers, json=payload, stream=True)