Skip to content
This repository has been archived by the owner on Sep 23, 2024. It is now read-only.

moderato-app/talk-demo-resource

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Archived

Since 2023, many apps have come out and offer a better user experience than this project. I don't see the point in maintaining it anymore.

This repository offers an array of pre-compiled resources, serving as a demonstrative showcase of AI capabilities.

How to use

package main

import (
	"fmt"
	
	demo "github.com/proxoar/talk-demo-resource"
)

func main() {
	pool, err := demo.NewResourcePool()
	if err != nil {
		panic(err)
	}
	if pool.Len() == 0 {
		panic(err)
	}
	fmt.Println("resource pool len", pool.Len())
	for _, re := range pool.List() {
		fmt.Println(re.Name)
		fmt.Println(re.Text)
		fmt.Println(len(re.Audio))
	}
}