ChemApi / main.py
ka1kuk's picture
Update main.py
e0b6fc3
raw
history blame
200 Bytes
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}