Spaces:
Running
Running
updated defaults
Browse files
app.py
CHANGED
@@ -147,9 +147,9 @@ models = {
|
|
147 |
demo = gr.Interface(
|
148 |
generate_samples,
|
149 |
inputs=[
|
150 |
-
gr.Dropdown(choices=list(models.keys()), value=list(models.keys())[
|
151 |
-
gr.Slider(1, 25, step=1, label="Number of Samples to Generate", value=
|
152 |
-
gr.Slider(1, 100, step=1, label="Number of Diffusion Steps", value=
|
153 |
],
|
154 |
outputs=[
|
155 |
gr.Audio(label="Generated Audio Sample"),
|
@@ -159,3 +159,4 @@ demo = gr.Interface(
|
|
159 |
|
160 |
if __name__ == "__main__":
|
161 |
demo.launch()
|
|
|
|
147 |
demo = gr.Interface(
|
148 |
generate_samples,
|
149 |
inputs=[
|
150 |
+
gr.Dropdown(choices=list(models.keys()), value=list(models.keys())[3], label="Model"),
|
151 |
+
gr.Slider(1, 25, step=1, label="Number of Samples to Generate", value=3),
|
152 |
+
gr.Slider(1, 100, step=1, label="Number of Diffusion Steps", value=15)
|
153 |
],
|
154 |
outputs=[
|
155 |
gr.Audio(label="Generated Audio Sample"),
|
|
|
159 |
|
160 |
if __name__ == "__main__":
|
161 |
demo.launch()
|
162 |
+
|