Couple small code changes for LangServe walkthrough

This commit is contained in:
Cole Medin
2024-08-30 12:41:06 -05:00
parent af684be17e
commit b3438810d7
4 changed files with 11 additions and 9 deletions

View File

@@ -33,12 +33,11 @@ def main():
# Create the Fast API route to invoke the runnable
add_routes(
app,
runnable,
path="/invoke",
runnable
)
# Start the API
uvicorn.run(app, host="localhost", port=8000)
uvicorn.run(app, host="0.0.0.0", port=8000)
if __name__ == "__main__":
main()