Shaffique Aljoofri commited on
Commit
6d05b99
·
1 Parent(s): dbf7d83

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -2,7 +2,7 @@
2
  import os, requests, json
3
 
4
  #Summarization endpoint
5
- def get_completion(inputs, parameters=None, ENDPOINT_URL=os.environ['HF_API_SUMMARY_BASE']):
6
  headers = {
7
  "Authorization": f"Bearer {hf_api_key}",
8
  "Content-Type": "application/json"
 
2
  import os, requests, json
3
 
4
  #Summarization endpoint
5
+ def get_completion(inputs, parameters=None, ENDPOINT_URL="shleifer/distilbart-cnn-12-6"):
6
  headers = {
7
  "Authorization": f"Bearer {hf_api_key}",
8
  "Content-Type": "application/json"