mobadara commited on
Commit
04826fc
·
verified ·
1 Parent(s): 926f542

Sync from GitHub via hub-sync

Browse files
Files changed (1) hide show
  1. app/main.py +1 -1
app/main.py CHANGED
@@ -8,7 +8,7 @@ from .models import InferenceLog
8
  from .schemas import SentimentRequest, SentimentResponse
9
  from . import ml_model
10
 
11
- Base.metadata.create_all(bind=ml_model.engine) # Ensure tables are created at startup
12
 
13
  app = FastAPI(
14
  title='FinBERT Sentiment Analyzer API',
 
8
  from .schemas import SentimentRequest, SentimentResponse
9
  from . import ml_model
10
 
11
+ Base.metadata.create_all(bind=engine) # Ensure tables are created at startup
12
 
13
  app = FastAPI(
14
  title='FinBERT Sentiment Analyzer API',