Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -40,8 +40,9 @@ def create_interface():
|
|
40 |
return app
|
41 |
|
42 |
if __name__ == "__main__":
|
|
|
43 |
demo = gr.Interface(
|
44 |
-
fn=
|
45 |
inputs="text",
|
46 |
outputs="text",
|
47 |
examples=[
|
|
|
40 |
return app
|
41 |
|
42 |
if __name__ == "__main__":
|
43 |
+
converter = DialogueToSpeechConverter()
|
44 |
demo = gr.Interface(
|
45 |
+
fn=converter.process_text,
|
46 |
inputs="text",
|
47 |
outputs="text",
|
48 |
examples=[
|