Spaces:
Running
Running
Commit ·
4e65d32
1
Parent(s): 75e20e0
Fixed automated backend deployment
Browse files
main.py
CHANGED
|
@@ -124,7 +124,7 @@ def test(img_path: Optional[str] = None):
|
|
| 124 |
return {"result": bubble_data}
|
| 125 |
else:
|
| 126 |
print(f"{img_path} does not exist")
|
| 127 |
-
|
| 128 |
if __name__ == "__main__":
|
| 129 |
port = int(os.environ.get("PORT", 8000))
|
| 130 |
print(f"--- Starting Production Server on Port {port} ---")
|
|
|
|
| 124 |
return {"result": bubble_data}
|
| 125 |
else:
|
| 126 |
print(f"{img_path} does not exist")
|
| 127 |
+
|
| 128 |
if __name__ == "__main__":
|
| 129 |
port = int(os.environ.get("PORT", 8000))
|
| 130 |
print(f"--- Starting Production Server on Port {port} ---")
|