Spaces:
Sleeping
Sleeping
Commit ·
2dd49f5
1
Parent(s): 1ce0030
Setup the Hugging face deployment
Browse files
main.py
CHANGED
|
@@ -3,6 +3,7 @@ from fastapi import FastAPI
|
|
| 3 |
from sqlalchemy import create_engine
|
| 4 |
from sqlalchemy.orm import sessionmaker
|
| 5 |
from dotenv import load_dotenv
|
|
|
|
| 6 |
|
| 7 |
# This will pick up the secret you saved in Hugging Face
|
| 8 |
load_dotenv()
|
|
|
|
| 3 |
from sqlalchemy import create_engine
|
| 4 |
from sqlalchemy.orm import sessionmaker
|
| 5 |
from dotenv import load_dotenv
|
| 6 |
+
from fastapi.responses import RedirectResponse
|
| 7 |
|
| 8 |
# This will pick up the secret you saved in Hugging Face
|
| 9 |
load_dotenv()
|