model path update
Browse files
app.py
CHANGED
@@ -4,7 +4,7 @@ import asyncio
|
|
4 |
import os
|
5 |
|
6 |
# API endpoint - model
|
7 |
-
API_URL = "https://api-inference.huggingface.co/models/Rahmat82/
|
8 |
SECRET_KEY = os.environ.get("summarizer")
|
9 |
|
10 |
async def summarize(text):
|
|
|
4 |
import os
|
5 |
|
6 |
# API endpoint - model
|
7 |
+
API_URL = "https://api-inference.huggingface.co/models/Rahmat82/t5-small-finetuned-summarization-xsum"
|
8 |
SECRET_KEY = os.environ.get("summarizer")
|
9 |
|
10 |
async def summarize(text):
|