multimodalart HF Staff commited on
Commit
d276c0e
·
1 Parent(s): 5728513

Cosmetic tweaks

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -130,7 +130,7 @@ SAMPLERS = ["pingpong", "k-dpmpp-2m", "k-heun", "dpmpp-2s-ancestral", "dpmpp-3m-
130
  # ---------------------------------------------------------------------------
131
 
132
 
133
- @spaces.GPU(duration=180)
134
  def infer(
135
  variant_key: str,
136
  prompt: str,
@@ -196,7 +196,7 @@ def infer(
196
  DESCRIPTION = """
197
  # 🎵 Stable Audio 3
198
 
199
- Text-to-audio generation with [Stable Audio 3](https://huggingface.co/stabilityai). Pick a variant, write a prompt, hit Generate.
200
  """
201
 
202
  EXAMPLES = [
@@ -218,7 +218,7 @@ def _on_variant_change(variant_key: str):
218
  )
219
 
220
 
221
- with gr.Blocks(theme=gr.themes.Soft(), title="Stable Audio 3") as demo:
222
  gr.Markdown(DESCRIPTION)
223
 
224
  variant = gr.Radio(
 
130
  # ---------------------------------------------------------------------------
131
 
132
 
133
+ @spaces.GPU
134
  def infer(
135
  variant_key: str,
136
  prompt: str,
 
196
  DESCRIPTION = """
197
  # 🎵 Stable Audio 3
198
 
199
+ Text-to-audio generation with <a href="https://huggingface.co/collections/stabilityai/stable-audio-3" target="_blank" rel="noopener noreferrer">Stable Audio 3</a>. Pick a variant, write a prompt, hit Generate.
200
  """
201
 
202
  EXAMPLES = [
 
218
  )
219
 
220
 
221
+ with gr.Blocks(theme=gr.themes.Citrus(), title="Stable Audio 3") as demo:
222
  gr.Markdown(DESCRIPTION)
223
 
224
  variant = gr.Radio(