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

Update slapp.py

Browse files
Files changed (1) hide show
  1. slapp.py +1 -3
slapp.py CHANGED
@@ -35,6 +35,4 @@ async def predict_transaction(data: dict):
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)
40
- thread.start()
 
35
  def run_fastapi():
36
  uvicorn.run(app)
37
 
38
+