Spaces:
Artsnom
/
Runtime error

georg-suno commited on
Commit
5b452a4
1 Parent(s): 40c455d

add discord

Browse files
Files changed (1) hide show
  1. app.py +5 -2
app.py CHANGED
@@ -3,7 +3,7 @@ import gradio as gr
3
  from bark import SAMPLE_RATE, generate_audio, preload_models
4
  from bark.generation import SUPPORTED_LANGS
5
 
6
- DEBUG_MODE = False
7
 
8
  if not DEBUG_MODE:
9
  _ = preload_models()
@@ -25,9 +25,9 @@ title = "<div style='text-align:left'>🐶 Bark</div>"
25
  description = """
26
  <div>
27
  <a style="display:inline-block" href='https://github.com/suno-ai/bark'><img src='https://img.shields.io/github/stars/suno-ai/bark?style=social' /></a>
 
28
  <a style="display:inline-block; margin-left: 1em" href="https://huggingface.co/spaces/suno/bark?duplicate=true"><img src="https://img.shields.io/badge/-Duplicate%20Space%20to%20skip%20the%20queue-blue?labelColor=white&style=flat&logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAP5JREFUOE+lk7FqAkEURY+ltunEgFXS2sZGIbXfEPdLlnxJyDdYB62sbbUKpLbVNhyYFzbrrA74YJlh9r079973psed0cvUD4A+4HoCjsA85X0Dfn/RBLBgBDxnQPfAEJgBY+A9gALA4tcbamSzS4xq4FOQAJgCDwV2CPKV8tZAJcAjMMkUe1vX+U+SMhfAJEHasQIWmXNN3abzDwHUrgcRGmYcgKe0bxrblHEB4E/pndMazNpSZGcsZdBlYJcEL9Afo75molJyM2FxmPgmgPqlWNLGfwZGG6UiyEvLzHYDmoPkDDiNm9JR9uboiONcBXrpY1qmgs21x1QwyZcpvxt9NS09PlsPAAAAAElFTkSuQmCC&logoWidth=14" alt="Duplicate Space"></a>
29
  </div>
30
-
31
  Bark is a universal text-to-audio model created by [Suno](www.suno.ai), with code publicly available [here](https://github.com/suno-ai/bark). \
32
  Bark can generate highly realistic, multilingual speech as well as other audio - including music, background noise and simple sound effects. \
33
  This demo should be used for research purposes only. Commercial use is strictly prohibited. \
@@ -140,4 +140,7 @@ iface = gr.Interface(
140
  cache_examples=False,
141
  )
142
 
 
 
 
143
  iface.launch(enable_queue=True)
 
3
  from bark import SAMPLE_RATE, generate_audio, preload_models
4
  from bark.generation import SUPPORTED_LANGS
5
 
6
+ DEBUG_MODE = True
7
 
8
  if not DEBUG_MODE:
9
  _ = preload_models()
 
25
  description = """
26
  <div>
27
  <a style="display:inline-block" href='https://github.com/suno-ai/bark'><img src='https://img.shields.io/github/stars/suno-ai/bark?style=social' /></a>
28
+ <a style='display:inline-block' href='https://discord.gg/J2B2vsjKuE'><img src='https://dcbadge.vercel.app/api/server/J2B2vsjKuE?compact=true&style=flat' /></a>
29
  <a style="display:inline-block; margin-left: 1em" href="https://huggingface.co/spaces/suno/bark?duplicate=true"><img src="https://img.shields.io/badge/-Duplicate%20Space%20to%20skip%20the%20queue-blue?labelColor=white&style=flat&logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAP5JREFUOE+lk7FqAkEURY+ltunEgFXS2sZGIbXfEPdLlnxJyDdYB62sbbUKpLbVNhyYFzbrrA74YJlh9r079973psed0cvUD4A+4HoCjsA85X0Dfn/RBLBgBDxnQPfAEJgBY+A9gALA4tcbamSzS4xq4FOQAJgCDwV2CPKV8tZAJcAjMMkUe1vX+U+SMhfAJEHasQIWmXNN3abzDwHUrgcRGmYcgKe0bxrblHEB4E/pndMazNpSZGcsZdBlYJcEL9Afo75molJyM2FxmPgmgPqlWNLGfwZGG6UiyEvLzHYDmoPkDDiNm9JR9uboiONcBXrpY1qmgs21x1QwyZcpvxt9NS09PlsPAAAAAElFTkSuQmCC&logoWidth=14" alt="Duplicate Space"></a>
30
  </div>
 
31
  Bark is a universal text-to-audio model created by [Suno](www.suno.ai), with code publicly available [here](https://github.com/suno-ai/bark). \
32
  Bark can generate highly realistic, multilingual speech as well as other audio - including music, background noise and simple sound effects. \
33
  This demo should be used for research purposes only. Commercial use is strictly prohibited. \
 
140
  cache_examples=False,
141
  )
142
 
143
+ with gr.Group(elem_id="share-btn-container", visible=False):
144
+ share_button = gr.Button("Share to community", elem_id="share-btn")
145
+
146
  iface.launch(enable_queue=True)