Mahiruoshi commited on
Commit
6117706
1 Parent(s): 7e680fd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -230,7 +230,7 @@ def text_api():
230
  'Content-Type': 'audio/wav',
231
  'Text': text.encode('utf-8')}
232
  return wav_bytes, 200, headers
233
-
234
  def gradio_interface():
235
  return grVits.Vits.launch()
236
 
@@ -239,3 +239,5 @@ if __name__ == '__main__':
239
  gradio_thread = Thread(target=gradio_interface)
240
  api_thread.start()
241
  gradio_thread.start()
 
 
 
230
  'Content-Type': 'audio/wav',
231
  'Text': text.encode('utf-8')}
232
  return wav_bytes, 200, headers
233
+ '''
234
  def gradio_interface():
235
  return grVits.Vits.launch()
236
 
 
239
  gradio_thread = Thread(target=gradio_interface)
240
  api_thread.start()
241
  gradio_thread.start()
242
+ '''
243
+ grVits.Vits.launch()