Rahmat82 commited on
Commit
41e6994
1 Parent(s): 47c8605

token update

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -5,7 +5,7 @@ import os
5
 
6
  # API endpoint - model name
7
  API_URL = "https://api-inference.huggingface.co/models/Rahmat82/t5-small-finetuned-summarization-xsum"
8
- SECRET_KEY = os.environ.get("summarizer")
9
 
10
  # asynchronous function
11
  async def summarize(text, retries=6):
 
5
 
6
  # API endpoint - model name
7
  API_URL = "https://api-inference.huggingface.co/models/Rahmat82/t5-small-finetuned-summarization-xsum"
8
+ SECRET_KEY = os.environ.get("summarize_text")
9
 
10
  # asynchronous function
11
  async def summarize(text, retries=6):