rrevo's picture
http
1ba4a0c
raw
history blame
224 Bytes
from typing import Union
from fastapi import FastAPI
app = FastAPI()
@app.get("/")
def read_root():
return {"status": "ok"}
@app.post("/transcribe")
def transcribe(audio: bytes):
return {"transcribe": "hello"}