Update src/streamlit_app.py
Browse files- src/streamlit_app.py +1 -1
src/streamlit_app.py
CHANGED
|
@@ -3,7 +3,7 @@ import requests
|
|
| 3 |
import os
|
| 4 |
# ---------------- CONFIG ----------------
|
| 5 |
HF_TOKEN = os.getenv("HF_TOKEN")
|
| 6 |
-
API_URL = "https://api-inference.
|
| 7 |
headers = {
|
| 8 |
"Authorization": f"Bearer {HF_TOKEN}",
|
| 9 |
"Content-Type": "application/json"
|
|
|
|
| 3 |
import os
|
| 4 |
# ---------------- CONFIG ----------------
|
| 5 |
HF_TOKEN = os.getenv("HF_TOKEN")
|
| 6 |
+
API_URL = "https://api-inference.hf.co/models/google/flan-t5-small"
|
| 7 |
headers = {
|
| 8 |
"Authorization": f"Bearer {HF_TOKEN}",
|
| 9 |
"Content-Type": "application/json"
|