LazyBoss commited on
Commit
8cc39a4
·
verified ·
1 Parent(s): 0637d6c

Update slapp.py

Browse files
Files changed (1) hide show
  1. slapp.py +1 -1
slapp.py CHANGED
@@ -33,7 +33,7 @@ async def predict_transaction(data: dict):
33
 
34
  # Function to run the FastAPI server
35
  def run_fastapi():
36
- uvicorn.run(app, host="0.0.0.0", port=1234)
37
 
38
  # Start the FastAPI server in a separate thread
39
  thread = threading.Thread(target=run_fastapi, daemon=True)
 
33
 
34
  # Function to run the FastAPI server
35
  def run_fastapi():
36
+ uvicorn.run(app)
37
 
38
  # Start the FastAPI server in a separate thread
39
  thread = threading.Thread(target=run_fastapi, daemon=True)