speak-smart / app.py
uzagi
add phoneme
cb3e494
raw
history blame contribute delete
234 Bytes
from fastapi import FastAPI
from phoneme import test_sound
app = FastAPI()
@app.get("/")
def greet_json():
return {"Hello": "World!", "Eat": "Cat"}
@app.post("/phoneme-scoring")
def scoring(input_text, audio):
test_sound()