Update app.py
Browse files
app.py
CHANGED
|
@@ -7,8 +7,8 @@ from typing import Dict
|
|
| 7 |
app = FastAPI()
|
| 8 |
|
| 9 |
HF_TOKEN = os.getenv("HF_API_TOKEN")
|
| 10 |
-
|
| 11 |
-
|
| 12 |
|
| 13 |
HEADERS = {
|
| 14 |
"Authorization": f"Bearer {HF_TOKEN}",
|
|
|
|
| 7 |
app = FastAPI()
|
| 8 |
|
| 9 |
HF_TOKEN = os.getenv("HF_API_TOKEN")
|
| 10 |
+
HF_API_URL = "https://api-inference.huggingface.co/models/google/flan-t5-base"
|
| 11 |
+
|
| 12 |
|
| 13 |
HEADERS = {
|
| 14 |
"Authorization": f"Bearer {HF_TOKEN}",
|