mrolando commited on
Commit
805b895
1 Parent(s): 738f12e
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -10,7 +10,7 @@ model_bark = BarkModel.from_pretrained("suno/bark")
10
  processor_bark = AutoProcessor.from_pretrained("suno/bark")
11
  ###### FACEBOOK
12
  #from mms import generate_audio_mms
13
- from tts import synthesize, TTS_EXAMPLES, TTS_LANGUAGES
14
  import torch
15
 
16
  device = "cuda:0" if torch.cuda.is_available() else "cpu"
@@ -28,6 +28,7 @@ def generate_audio_bark(input):
28
 
29
  import gradio as gr
30
  with gr.Blocks() as demo:
 
31
  with gr.Tab("MMS"):
32
  with gr.Row():
33
  with gr.Column():
 
10
  processor_bark = AutoProcessor.from_pretrained("suno/bark")
11
  ###### FACEBOOK
12
  #from mms import generate_audio_mms
13
+ from tts import synthesize, TTS_LANGUAGES
14
  import torch
15
 
16
  device = "cuda:0" if torch.cuda.is_available() else "cpu"
 
28
 
29
  import gradio as gr
30
  with gr.Blocks() as demo:
31
+
32
  with gr.Tab("MMS"):
33
  with gr.Row():
34
  with gr.Column():