Spaces:
Sleeping
Sleeping
Update main.py
Browse files
main.py
CHANGED
@@ -4,6 +4,7 @@ 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 |
from fastapi.staticfiles import StaticFiles
|
8 |
|
9 |
app = FastAPI(
|
@@ -27,7 +28,7 @@ app.mount("/", StaticFiles(directory="static/ui", html=True), name="index")
|
|
27 |
# Include the routers
|
28 |
app.include_router(llm_chat_router)
|
29 |
app.include_router(scraping_router)
|
30 |
-
|
31 |
|
32 |
if __name__ == "__main__":
|
33 |
import uvicorn
|
|
|
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 |
+
from routers.electronics_router import router as electronics_router
|
8 |
from fastapi.staticfiles import StaticFiles
|
9 |
|
10 |
app = FastAPI(
|
|
|
28 |
# Include the routers
|
29 |
app.include_router(llm_chat_router)
|
30 |
app.include_router(scraping_router)
|
31 |
+
app.include_router(electronics_router)
|
32 |
|
33 |
if __name__ == "__main__":
|
34 |
import uvicorn
|