File size: 200 Bytes
b8a907e
 
 
 
 
 
e0b6fc3
454db78
e0b6fc3
 
454db78
1
2
3
4
5
6
7
8
9
10
11
from fastapi import FastAPI

app = FastAPI()

@app.get("/")
def read_root():
    return "Hello, I'm Linlada"
    
@app.get("/linlada/{prompt}")
def read_root(prompt: str):
    return {"Hello": prompt}