Jaykay73 commited on
Change import from bulk_ingest to ingest_high_quality_movies
Browse files
app.py
CHANGED
|
@@ -7,7 +7,7 @@ import uvicorn
|
|
| 7 |
|
| 8 |
# Import our custom modules
|
| 9 |
from src.recommender import MovieRecommender
|
| 10 |
-
from src.ingest import
|
| 11 |
|
| 12 |
# --- Configuration ---
|
| 13 |
app = FastAPI(
|
|
@@ -161,4 +161,4 @@ def trigger_update(background_tasks: BackgroundTasks):
|
|
| 161 |
# --- Entry Point ---
|
| 162 |
if __name__ == "__main__":
|
| 163 |
# Use this for debugging. In production, use the command line.
|
| 164 |
-
uvicorn.run(app, host="0.0.0.0", port=8000)
|
|
|
|
| 7 |
|
| 8 |
# Import our custom modules
|
| 9 |
from src.recommender import MovieRecommender
|
| 10 |
+
from src.ingest import ingest_high_quality_movies
|
| 11 |
|
| 12 |
# --- Configuration ---
|
| 13 |
app = FastAPI(
|
|
|
|
| 161 |
# --- Entry Point ---
|
| 162 |
if __name__ == "__main__":
|
| 163 |
# Use this for debugging. In production, use the command line.
|
| 164 |
+
uvicorn.run(app, host="0.0.0.0", port=8000)
|