Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
xulh
/
ymx
like
1
Sleeping
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
9e873a1
ymx
/
app.py
xulh
代η εε§ε
caaf84d
5 months ago
raw
Copy download link
history
blame
Safe
241 Bytes
from
fastapi
import
FastAPI
from
inference.inference
import
router
app = FastAPI()
app.include_router(router)
@app.get(
"/"
)
def
greet_json
():
return
{
"Hello"
:
"World!"
}
@app.get(
"/apiVersion"
)
def
get_version
():
return
"v1.0.0"