shiveshnavin commited on
Commit
a4736d7
·
1 Parent(s): 8c33263
Files changed (2) hide show
  1. app.py +2 -1
  2. start.sh +2 -0
app.py CHANGED
@@ -43,7 +43,8 @@ iface = gr.Interface(
43
  ["Hello, this is a sample sentence.", "p282"],
44
  ["How are you doing?", "p301"],
45
  ],
 
46
  )
47
 
48
  if __name__ == "__main__":
49
- iface.launch(enable_queue=True)
 
43
  ["Hello, this is a sample sentence.", "p282"],
44
  ["How are you doing?", "p301"],
45
  ],
46
+ live=True,
47
  )
48
 
49
  if __name__ == "__main__":
50
+ iface.queue().launch(server_name="0.0.0.0")
start.sh ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ source /home/ubuntu/apps/python/tts-env/bin/activate
2
+ python app.py