declare-lab/tango

don't have a correct `repo_id` and `repo_type`?

EveningLin opened this issue · 1 comments

`import IPython
import soundfile as sf
from tango import Tango

print("init tango begin!")
tango = Tango("declare-lab/tango")
print("init tango!")

prompt = "An audience cheering and clapping"
print("prompt input!")

audio = tango.generate(prompt)
print("audio generate!")

sf.write(f"{prompt}.wav", audio, samplerate=16000)
#IPython.display.Audio(davoid imageThread::start_image(Mat frame)ta=audio, rate=16000)`
@deepanwayx @nmder @soujanyaporia
when i run the code ,following error occurs:

截图 2023-04-30 03-49-50

it seems that i don't have a correct repo_id and repo_type
how can i deal with it ?

You need to keep the configs directory with the json files in your experiment folder.