Uploaded sanitized BC250/ROCm Repository.
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
#!/bin/bash
|
||||
curl -s -o /tmp/test_speech.wav \
|
||||
-w "HTTP %{http_code} Size: %{size_download}\n" \
|
||||
-X POST http://localhost:8072/v1/audio/speech \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{"input":"Hello World, this is a test.","voice":"Vivian","language":"english"}'
|
||||
|
||||
if [ -f /tmp/test_speech.wav ]; then
|
||||
file /tmp/test_speech.wav
|
||||
ls -la /tmp/test_speech.wav
|
||||
fi
|
||||
Reference in New Issue
Block a user