Update server.py
This commit is contained in:
parent
cbb73ba3bd
commit
111dc0a640
@ -3,6 +3,11 @@ from fastapi import FastAPI
|
||||
from fastapi.responses import RedirectResponse
|
||||
from langserve import add_routes
|
||||
from app.chain import build_chain
|
||||
import mlflow
|
||||
|
||||
|
||||
mlflow.set_tracking_uri("http://localhost:5000")
|
||||
mlflow.langchain.autolog()
|
||||
|
||||
# Input API
|
||||
class QueryInput(BaseModel):
|
||||
|
||||
Loading…
Reference in New Issue
Block a user