Spaces:
Runtime error
Runtime error
Commit
·
c5fd4f3
1
Parent(s):
c55bf1c
probably should revert now
Browse files
app.py
CHANGED
@@ -59,7 +59,14 @@ def main():
|
|
59 |
|
60 |
audio = gr.outputs.Audio(label="Generated Audio")
|
61 |
|
62 |
-
iface = gr.Interface(
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
63 |
iface.launch()
|
64 |
|
65 |
|
|
|
59 |
|
60 |
audio = gr.outputs.Audio(label="Generated Audio")
|
61 |
|
62 |
+
iface = gr.Interface(
|
63 |
+
fn=synthesize_audio,
|
64 |
+
inputs=[file_input, model_name, speaker],
|
65 |
+
outputs=audio,
|
66 |
+
title="PDF TO SPEECH CONVERTER",
|
67 |
+
layout="rows",
|
68 |
+
debug=True
|
69 |
+
)
|
70 |
iface.launch()
|
71 |
|
72 |
|