Spaces:
Sleeping
Sleeping
Update src/streamlit_app.py
Browse files- src/streamlit_app.py +2 -2
src/streamlit_app.py
CHANGED
|
@@ -50,8 +50,8 @@ def main():
|
|
| 50 |
else:
|
| 51 |
with st.spinner("⏳ Generating summary using your model..."):
|
| 52 |
try:
|
| 53 |
-
#
|
| 54 |
-
API_URL = "https://
|
| 55 |
|
| 56 |
response = requests.post(
|
| 57 |
API_URL,
|
|
|
|
| 50 |
else:
|
| 51 |
with st.spinner("⏳ Generating summary using your model..."):
|
| 52 |
try:
|
| 53 |
+
# NEW API ENDPOINT
|
| 54 |
+
API_URL = "https://router.huggingface.co/hf-inference/models/manesh1/t5-small-lora-summarization"
|
| 55 |
|
| 56 |
response = requests.post(
|
| 57 |
API_URL,
|