Tonic commited on
Commit
5e029be
1 Parent(s): 44fed0e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -40,8 +40,9 @@ def create_interface():
40
  return app
41
 
42
  if __name__ == "__main__":
 
43
  demo = gr.Interface(
44
- fn=create_interface,
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=[