Update app.py
Browse files
app.py
CHANGED
@@ -5,7 +5,7 @@ import gradio as gr
|
|
5 |
|
6 |
model = AudioGen.get_pretrained('facebook/audiogen-medium')
|
7 |
model.set_generation_params(duration=8) # generate 8 seconds.
|
8 |
-
|
9 |
|
10 |
def AudioGenie(Prompt):
|
11 |
descriptions = [Prompt]
|
|
|
5 |
|
6 |
model = AudioGen.get_pretrained('facebook/audiogen-medium')
|
7 |
model.set_generation_params(duration=8) # generate 8 seconds.
|
8 |
+
wav = model.generate_unconditional(1) # generates 4 unconditional audio samples
|
9 |
|
10 |
def AudioGenie(Prompt):
|
11 |
descriptions = [Prompt]
|