Spaces:
Runtime error
Runtime error
Topallaj Denis
commited on
Commit
•
6b0a781
1
Parent(s):
0879a7e
changed name server to main
Browse files- server.py → main.py +0 -4
server.py → main.py
RENAMED
@@ -15,7 +15,3 @@ app.add_middleware(
|
|
15 |
@app.get("/")
|
16 |
def read_root():
|
17 |
return {"Hello": "World"}
|
18 |
-
|
19 |
-
|
20 |
-
if __name__ == "__main__":
|
21 |
-
uvicorn.run("server:app", host="localhost", port=8000, reload=True)
|
|
|
15 |
@app.get("/")
|
16 |
def read_root():
|
17 |
return {"Hello": "World"}
|
|
|
|
|
|
|
|