Spaces:
Sleeping
Sleeping
Update server.py
Browse files
server.py
CHANGED
|
@@ -1,9 +1,9 @@
|
|
| 1 |
from fastapi import FastAPI, UploadFile, File
|
| 2 |
from fastapi.responses import JSONResponse
|
| 3 |
-
from fastapi import FastAPI
|
| 4 |
|
| 5 |
app = FastAPI()
|
| 6 |
|
|
|
|
| 7 |
@app.api_route("/ping", methods=["GET", "HEAD"])
|
| 8 |
async def ping():
|
| 9 |
"""
|
|
|
|
| 1 |
from fastapi import FastAPI, UploadFile, File
|
| 2 |
from fastapi.responses import JSONResponse
|
|
|
|
| 3 |
|
| 4 |
app = FastAPI()
|
| 5 |
|
| 6 |
+
|
| 7 |
@app.api_route("/ping", methods=["GET", "HEAD"])
|
| 8 |
async def ping():
|
| 9 |
"""
|