Spaces:
Runtime error
Runtime error
Update app/app.py
Browse files- app/app.py +2 -2
app/app.py
CHANGED
|
@@ -6,7 +6,7 @@ from api import analysis, reports, chatbot, infos
|
|
| 6 |
from langchain_community.chat_models import ChatOpenAI
|
| 7 |
from langchain_community.embeddings import HuggingFaceEmbeddings
|
| 8 |
from langchain_community.vectorstores import FAISS
|
| 9 |
-
from
|
| 10 |
import os, asyncio
|
| 11 |
|
| 12 |
|
|
@@ -60,7 +60,7 @@ app.add_middleware(
|
|
| 60 |
# Include routers
|
| 61 |
app.include_router(analysis.router, prefix="/api/analysis", tags=["analysis"])
|
| 62 |
app.include_router(infos.router, prefix="/api/infos", tags=["infos"])
|
| 63 |
-
app.include_router(reports.router, prefix="/api/reports", tags=["report"])
|
| 64 |
app.include_router(chatbot.router, prefix="/api/chatbot", tags=["chat"])
|
| 65 |
|
| 66 |
@app.get("/")
|
|
|
|
| 6 |
from langchain_community.chat_models import ChatOpenAI
|
| 7 |
from langchain_community.embeddings import HuggingFaceEmbeddings
|
| 8 |
from langchain_community.vectorstores import FAISS
|
| 9 |
+
from utils.rag import get_chain_disease, get_chain_infos, get_chain_chat
|
| 10 |
import os, asyncio
|
| 11 |
|
| 12 |
|
|
|
|
| 60 |
# Include routers
|
| 61 |
app.include_router(analysis.router, prefix="/api/analysis", tags=["analysis"])
|
| 62 |
app.include_router(infos.router, prefix="/api/infos", tags=["infos"])
|
| 63 |
+
#app.include_router(reports.router, prefix="/api/reports", tags=["report"])
|
| 64 |
app.include_router(chatbot.router, prefix="/api/chatbot", tags=["chat"])
|
| 65 |
|
| 66 |
@app.get("/")
|