Spaces:
Sleeping
Sleeping
Factor Studios
commited on
Update test_ai_integration.py
Browse files- test_ai_integration.py +2 -2
test_ai_integration.py
CHANGED
|
@@ -463,11 +463,11 @@ if __name__ == "__main__":
|
|
| 463 |
logger = logging.getLogger(__name__)
|
| 464 |
|
| 465 |
# Create the FastAPI app
|
| 466 |
-
app =
|
| 467 |
|
| 468 |
# Run as FastAPI server
|
| 469 |
logger.info("Starting AI Integration Test Server...")
|
| 470 |
-
uvicorn.run("test_ai_integration:
|
| 471 |
host="0.0.0.0",
|
| 472 |
port=8000,
|
| 473 |
factory=True,
|
|
|
|
| 463 |
logger = logging.getLogger(__name__)
|
| 464 |
|
| 465 |
# Create the FastAPI app
|
| 466 |
+
app = create_app()
|
| 467 |
|
| 468 |
# Run as FastAPI server
|
| 469 |
logger.info("Starting AI Integration Test Server...")
|
| 470 |
+
uvicorn.run("test_ai_integration:create_app()",
|
| 471 |
host="0.0.0.0",
|
| 472 |
port=8000,
|
| 473 |
factory=True,
|