Spaces:
Sleeping
Sleeping
Update slapp.py
Browse files
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=
|
| 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, 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)
|