We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8593817 commit 0d8e57cCopy full SHA for 0d8e57c
backend/python/transformers-musicgen/test_transformers.py
@@ -71,7 +71,7 @@ def test_tts(self):
71
stub = backend_pb2_grpc.BackendStub(channel)
72
response = stub.LoadModel(backend_pb2.ModelOptions(Model="facebook/musicgen-small"))
73
self.assertTrue(response.success)
74
- tts_request = backend_pb2.TTSRequest(Model="facebook/musicgen-small", Input="80s TV news production music hit for tonight's biggest story")
+ tts_request = backend_pb2.TTSRequest(text="80s TV news production music hit for tonight's biggest story")
75
tts_response = stub.TTS(tts_request)
76
self.assertIsNotNone(tts_response)
77
except Exception as err:
0 commit comments