joytou commited on
Commit
5df1eeb
·
1 Parent(s): b5f5b20

return fishspeech test message

Browse files
Files changed (1) hide show
  1. fishspeech.py +2 -1
fishspeech.py CHANGED
@@ -1,4 +1,5 @@
1
  from gradio_client import Client, file
 
2
 
3
  async def test():
4
  client = Client("fishaudio/fish-speech-1")
@@ -16,4 +17,4 @@ async def test():
16
  if_load_asr_model=False,
17
  api_name="/inference_wrapper"
18
  )
19
- print(result)
 
1
  from gradio_client import Client, file
2
+ import json
3
 
4
  async def test():
5
  client = Client("fishaudio/fish-speech-1")
 
17
  if_load_asr_model=False,
18
  api_name="/inference_wrapper"
19
  )
20
+ return repr(json.dumps(result))