AurelioAguirre commited on
Commit
7b336c4
·
1 Parent(s): d0b5a4b

Adding more routes v2

Browse files
Files changed (1) hide show
  1. main/routes.py +1 -1
main/routes.py CHANGED
@@ -17,7 +17,7 @@ from .schemas import (
17
 
18
  router = APIRouter()
19
  logger = logging.getLogger(__name__)
20
- api = InferenceApi()
21
 
22
  async def init_router(inference_api: InferenceApi):
23
  """Initialize router with an already setup API instance"""
 
17
 
18
  router = APIRouter()
19
  logger = logging.getLogger(__name__)
20
+ api = None
21
 
22
  async def init_router(inference_api: InferenceApi):
23
  """Initialize router with an already setup API instance"""