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

Latest commit

 

History

History
33 lines (26 loc) · 656 Bytes

README.md

File metadata and controls

33 lines (26 loc) · 656 Bytes

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))
	}
}