File size: 234 Bytes
a41fe52
 
cb3e494
 
a41fe52
 
 
 
cb3e494
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
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()