mirror of
https://github.com/coleam00/ai-agents-masterclass.git
synced 2025-11-29 16:43:14 +00:00
Couple small code changes for LangServe walkthrough
This commit is contained in:
@@ -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()
|
||||
Reference in New Issue
Block a user