This commit is contained in:
Brandon Thomas committed 2022-01-06 00:40:23 -05:00
1 parent 0ac3c5b51c
commit bfe5a507da
2 files changed
-4

No files matched your search

-2
View File
@@ -47,8 +47,6 @@ export function AppWrapper(props: Props) {
// TODO: Handle empty category list
useEffect(() => {
console.log("========== AppWrapper.useEffect() ==========")
// Category lookup by token
let categoriesByTokenMap = new Map();
allTtsCategories.forEach(category => {
@@ -72,7 +72,6 @@ function TtsModelListFc(props: Props) {
const listModels = useCallback(async () => {
if (ttsModelsLoaded) {
console.log('models already queried');
return; // Already queried.
}
const models = await ListTtsModels();
@@ -87,7 +86,6 @@ function TtsModelListFc(props: Props) {
const listTtsCategories = useCallback(async () => {
if (ttsCategoriesLoaded) {
console.log('categories already queried');
return; // Already queried.
}
const categoryList = await ListTtsCategories();