AhmadYarAI commited on
Commit
2dd49f5
·
1 Parent(s): 1ce0030

Setup the Hugging face deployment

Browse files
Files changed (1) hide show
  1. main.py +1 -0
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()