Hugging Face
Models
Datasets
Spaces
Community
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
Duplicated from
ka1kuk/prozy-anywhere
ka1kuk
/
linp
like
0
Sleeping
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
454db78
linp
/
main.py
ka1kuk
Update main.py
454db78
almost 2 years ago
raw
Copy download link
history
blame
194 Bytes
from
fastapi
import
FastAPI
app = FastAPI()
@app.get(
"/"
)
def
read_root
():
return
{
"Hello"
:
"World!"
}
@app.get(
"/linlada/<prompt>"
)
def
read_root
(
prompt
):
return
{
"Hello"
: prompt}