Spaces:
Sleeping
Sleeping
Commit ·
490045b
1
Parent(s): be3e551
Update app.py (#3)
Browse files- Update app.py (1cd40919d036cc101a5b38ad8f36241c15fc91b5)
Co-authored-by: sai bhargav <rsaibhargav@users.noreply.huggingface.co>
- server/app.py +1 -6
server/app.py
CHANGED
|
@@ -76,9 +76,4 @@ def main(host: str = "0.0.0.0", port: int = 8000):
|
|
| 76 |
|
| 77 |
|
| 78 |
if __name__ == "__main__":
|
| 79 |
-
|
| 80 |
-
|
| 81 |
-
parser = argparse.ArgumentParser()
|
| 82 |
-
parser.add_argument("--port", type=int, default=8000)
|
| 83 |
-
args = parser.parse_args()
|
| 84 |
-
main(port=args.port)
|
|
|
|
| 76 |
|
| 77 |
|
| 78 |
if __name__ == "__main__":
|
| 79 |
+
main()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|