Spaces:
Sleeping
Sleeping
ReverseCoder1 commited on
Commit ·
9943d2c
1
Parent(s): 116e458
add toml file 123
Browse files- server/app.py +4 -0
server/app.py
CHANGED
|
@@ -7,3 +7,7 @@ import uvicorn
|
|
| 7 |
def main() -> None:
|
| 8 |
"""CLI entrypoint for `server` script in pyproject.toml."""
|
| 9 |
uvicorn.run("server.app:app", host="0.0.0.0", port=7860)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 7 |
def main() -> None:
|
| 8 |
"""CLI entrypoint for `server` script in pyproject.toml."""
|
| 9 |
uvicorn.run("server.app:app", host="0.0.0.0", port=7860)
|
| 10 |
+
|
| 11 |
+
|
| 12 |
+
if __name__ == "__main__":
|
| 13 |
+
main()
|