Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -686,7 +686,7 @@ if __name__ == "__main__":
|
|
| 686 |
uvicorn.run(
|
| 687 |
app,
|
| 688 |
host="0.0.0.0",
|
| 689 |
-
port=
|
| 690 |
log_level="info",
|
| 691 |
access_log=True,
|
| 692 |
)
|
|
@@ -700,7 +700,7 @@ time.sleep(5)
|
|
| 700 |
# Test if server responds
|
| 701 |
try:
|
| 702 |
result = subprocess.run(
|
| 703 |
-
["curl", "-f", "http://localhost:
|
| 704 |
capture_output=True,
|
| 705 |
timeout=5
|
| 706 |
)
|
|
|
|
| 686 |
uvicorn.run(
|
| 687 |
app,
|
| 688 |
host="0.0.0.0",
|
| 689 |
+
port=8080,
|
| 690 |
log_level="info",
|
| 691 |
access_log=True,
|
| 692 |
)
|
|
|
|
| 700 |
# Test if server responds
|
| 701 |
try:
|
| 702 |
result = subprocess.run(
|
| 703 |
+
["curl", "-f", "http://localhost:8080"],
|
| 704 |
capture_output=True,
|
| 705 |
timeout=5
|
| 706 |
)
|