Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -6,7 +6,7 @@ import numpy as np
|
|
6 |
from bark.generation import preload_models, SAMPLE_RATE
|
7 |
from bark import generate_audio
|
8 |
from scipy.io import wavfile
|
9 |
-
|
10 |
import gradio as gr
|
11 |
nltk.download('punkt')
|
12 |
os.environ["CUDA_VISIBLE_DEVICES"] = "0"
|
@@ -242,4 +242,4 @@ iface = gr.Interface(
|
|
242 |
)
|
243 |
|
244 |
# Launch the Gradio app with sharing enabled
|
245 |
-
iface.launch(
|
|
|
6 |
from bark.generation import preload_models, SAMPLE_RATE
|
7 |
from bark import generate_audio
|
8 |
from scipy.io import wavfile
|
9 |
+
|
10 |
import gradio as gr
|
11 |
nltk.download('punkt')
|
12 |
os.environ["CUDA_VISIBLE_DEVICES"] = "0"
|
|
|
242 |
)
|
243 |
|
244 |
# Launch the Gradio app with sharing enabled
|
245 |
+
iface.launch(debug=True, enable_queue=True)
|