Hugging Face
Models
Datasets
Spaces
Community
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
Pugazh
/
HostLLM
like
0
Sleeping
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
main
HostLLM
/
app.py
Correct Name
new changes3
d449c1c
3 months ago
raw
Copy download link
history
blame
contribute
delete
Safe
227 Bytes
from
fastapi
import
FastAPI
app = FastAPI()
@app.get(
"/"
)
def
greet_json
():
return
{
"Hello"
:
"this is pugaazhmukilan!"
}
@app.get(
"/plaintext"
)
def
greet_plaintext
():
return
{
"result"
:
"this is pugazh mukilan's api"
}