Spaces:
Sleeping
Sleeping
Upload folder using huggingface_hub
Browse files- server/app.py +1 -6
- validate_check.txt +1 -0
- validate_output.txt +0 -0
- validate_output2.txt +4 -0
server/app.py
CHANGED
|
@@ -34,9 +34,4 @@ def main(host: str = "0.0.0.0", port: int = 8000):
|
|
| 34 |
uvicorn.run(app, host=host, port=port)
|
| 35 |
|
| 36 |
if __name__ == "__main__":
|
| 37 |
-
|
| 38 |
-
|
| 39 |
-
parser = argparse.ArgumentParser()
|
| 40 |
-
parser.add_argument("--port", type=int, default=8000)
|
| 41 |
-
args = parser.parse_args()
|
| 42 |
-
main(port=args.port)
|
|
|
|
| 34 |
uvicorn.run(app, host=host, port=port)
|
| 35 |
|
| 36 |
if __name__ == "__main__":
|
| 37 |
+
main()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
validate_check.txt
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
[OK] openenv_jayesh: Ready for multi-mode deployment
|
validate_output.txt
ADDED
|
Binary file (324 Bytes). View file
|
|
|
validate_output2.txt
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[FAIL] openenv_jayesh: Not ready for multi-mode deployment
|
| 2 |
+
|
| 3 |
+
Issues found:
|
| 4 |
+
- server/app.py main() function not callable (missing if __name__ == '__main__')
|