Hugging Face
Models
Datasets
Spaces
Buckets
new
Docs
Enterprise
Pricing
Website
Tasks
HuggingChat
Collections
Languages
Organizations
Community
Blog
Posts
Daily Papers
Learn
Discord
Forum
GitHub
Solutions
Team & Enterprise
Hugging Face PRO
Enterprise Support
Inference Providers
Inference Endpoints
Storage Buckets
Log In
Sign Up
Spaces:
steveagi
/
pgai
like
1
Sleeping
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
main
pgai
/
routers
/
root.py
steveagi
crud tuple -> str
edda3ad
over 2 years ago
raw
Copy download link
history
blame
contribute
delete
Safe
192 Bytes
from
fastapi
import
APIRouter
router = APIRouter(tags=[
"home"
])
@router.get(
"/"
)
def
root
():
return
{
"message"
:
"hi!"
}
@router.get(
"/pgai"
)
def
pgai
():
return
{
"message"
:
"hi!"
}