Update app.py
Browse files
app.py
CHANGED
@@ -47,7 +47,8 @@ async def speech_to_text(file: UploadFile = File(...)):
|
|
47 |
@app.post("/tts/")
|
48 |
def text_to_speech(input_text: TextInput):
|
49 |
instance = ggwave.init()
|
50 |
-
print(input_text
|
|
|
51 |
"""Convert text to a WAV audio file using ggwave and return as response."""
|
52 |
encoded_waveform = ggwave.encode(instance, input_text.text)
|
53 |
buffer = io.BytesIO()
|
|
|
47 |
@app.post("/tts/")
|
48 |
def text_to_speech(input_text: TextInput):
|
49 |
instance = ggwave.init()
|
50 |
+
print("input_text:-")
|
51 |
+
print(input_text)
|
52 |
"""Convert text to a WAV audio file using ggwave and return as response."""
|
53 |
encoded_waveform = ggwave.encode(instance, input_text.text)
|
54 |
buffer = io.BytesIO()
|