Spaces:
Sleeping
Sleeping
Update main.py
Browse files
main.py
CHANGED
@@ -3,6 +3,7 @@ from fastapi import FastAPI
|
|
3 |
from fastapi.middleware.cors import CORSMiddleware
|
4 |
from dotenv import load_dotenv
|
5 |
from routers.llm_chat import router as llm_chat_router
|
|
|
6 |
|
7 |
app = FastAPI(
|
8 |
title="LLM Chat API",
|
@@ -21,6 +22,7 @@ app.add_middleware(
|
|
21 |
|
22 |
# Include the router
|
23 |
app.include_router(llm_chat_router)
|
|
|
24 |
|
25 |
if __name__ == "__main__":
|
26 |
import uvicorn
|
|
|
3 |
from fastapi.middleware.cors import CORSMiddleware
|
4 |
from dotenv import load_dotenv
|
5 |
from routers.llm_chat import router as llm_chat_router
|
6 |
+
from routers.scraping_router import router as scraping_router
|
7 |
|
8 |
app = FastAPI(
|
9 |
title="LLM Chat API",
|
|
|
22 |
|
23 |
# Include the router
|
24 |
app.include_router(llm_chat_router)
|
25 |
+
app.include_router(scraping_router)
|
26 |
|
27 |
if __name__ == "__main__":
|
28 |
import uvicorn
|