Update README.md
Browse files
README.md
CHANGED
|
@@ -43,7 +43,8 @@ audio = model(
|
|
| 43 |
# Normalize and save output
|
| 44 |
if audio.dtype == np.int16:
|
| 45 |
audio = audio.astype(np.float32) / 32768.0
|
| 46 |
-
sf.write("
|
|
|
|
| 47 |
```
|
| 48 |
|
| 49 |
You can find example prompt audios used [here](https://huggingface.co/ai4bharat/IndicF5/tree/main/prompts).
|
|
|
|
| 43 |
# Normalize and save output
|
| 44 |
if audio.dtype == np.int16:
|
| 45 |
audio = audio.astype(np.float32) / 32768.0
|
| 46 |
+
sf.write("namaste.wav", np.array(audio, dtype=np.float32), samplerate=24000)
|
| 47 |
+
print("Audio saved succesfully.")
|
| 48 |
```
|
| 49 |
|
| 50 |
You can find example prompt audios used [here](https://huggingface.co/ai4bharat/IndicF5/tree/main/prompts).
|