Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -1,3 +1,4 @@
|
|
|
|
1 |
import gradio as gr
|
2 |
import torch
|
3 |
from diffusers import StableAudioPipeline
|
@@ -89,7 +90,7 @@ with gr.Blocks(theme='soft', css=CSS, js=JS, title="Stable Audio Open") as iface
|
|
89 |
negative = gr.Textbox(label="Negative prompt", placeholder="Low quality")
|
90 |
with gr.Row():
|
91 |
second = gr.Slider(5.0, 60.0, value=10.0, label="Second", step=0.1),
|
92 |
-
seed = gr.Slider(-1, MAX_SEED, value
|
93 |
with gr.Row():
|
94 |
submit_btn = gr.Button("π Send") # Create a submit button
|
95 |
clear_btn = gr.ClearButton([prompt, seed, output], value="ποΈ Clear") # Create a clear button
|
|
|
1 |
+
import os
|
2 |
import gradio as gr
|
3 |
import torch
|
4 |
from diffusers import StableAudioPipeline
|
|
|
90 |
negative = gr.Textbox(label="Negative prompt", placeholder="Low quality")
|
91 |
with gr.Row():
|
92 |
second = gr.Slider(5.0, 60.0, value=10.0, label="Second", step=0.1),
|
93 |
+
seed = gr.Slider(-1, MAX_SEED, value=-1, label="Seed", step=1),
|
94 |
with gr.Row():
|
95 |
submit_btn = gr.Button("π Send") # Create a submit button
|
96 |
clear_btn = gr.ClearButton([prompt, seed, output], value="ποΈ Clear") # Create a clear button
|