bhagatsuryainatom
commited on
Commit
·
3779ee3
1
Parent(s):
464934c
Update app.py
Browse files
app.py
CHANGED
@@ -28,7 +28,7 @@ def text_to_audio(question):
|
|
28 |
# Define the Gradio interface
|
29 |
def gradio_interface(question):
|
30 |
wav_data = text_to_audio(question)
|
31 |
-
return
|
32 |
|
33 |
# Define the Gradio UI components
|
34 |
interface = gr.Interface(
|
|
|
28 |
# Define the Gradio interface
|
29 |
def gradio_interface(question):
|
30 |
wav_data = text_to_audio(question)
|
31 |
+
return wav_data # Return the WAV data directly
|
32 |
|
33 |
# Define the Gradio UI components
|
34 |
interface = gr.Interface(
|