RamV commited on
Commit
8788c2d
·
1 Parent(s): aafadce

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -13,7 +13,7 @@ def huggingface_chat_history(input, history=[]):
13
  # make request to Hugging Face model API
14
  response = requests.post(
15
  "https://api-inference.huggingface.co/models/microsoft/DialoGPT-medium",
16
- headers={"Authorization": "OPENAPI_KEY"},
17
  json=payload
18
  )
19
 
 
13
  # make request to Hugging Face model API
14
  response = requests.post(
15
  "https://api-inference.huggingface.co/models/microsoft/DialoGPT-medium",
16
+ headers={"Authorization": "ChatGPT"},
17
  json=payload
18
  )
19