Spaces:
Running on Zero
Running on Zero
Commit ·
d276c0e
1
Parent(s): 5728513
Cosmetic tweaks
Browse files
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
|
| 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
|
| 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.
|
| 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(
|