Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -197,7 +197,11 @@ if __name__ == '__main__':
|
|
197 |
'T2S': 'cpu',
|
198 |
'ASR': 'cuda:0',
|
199 |
'A2T': 'cpu',
|
200 |
-
'Inpaint': 'cuda:0'
|
|
|
|
|
|
|
|
|
201 |
})
|
202 |
with gr.Blocks(css="#chatbot {overflow:auto; height:500px;}") as demo:
|
203 |
with gr.Row():
|
@@ -234,9 +238,10 @@ if __name__ == '__main__':
|
|
234 |
"Generate an audio of this image",
|
235 |
"Can you describe the audio with text?",
|
236 |
"Generate a speech with text 'here we go'",
|
237 |
-
"
|
238 |
"I want to inpaint this audio",
|
239 |
-
|
|
|
240 |
],
|
241 |
inputs=txt
|
242 |
)
|
|
|
197 |
'T2S': 'cpu',
|
198 |
'ASR': 'cuda:0',
|
199 |
'A2T': 'cpu',
|
200 |
+
'Inpaint': 'cuda:0',
|
201 |
+
'SoundDetection': 'cpu',
|
202 |
+
'Binaural': 'cuda:0',
|
203 |
+
'SoundExtraction': 'cuda:0',
|
204 |
+
'TargetSoundDetection': 'cpu'
|
205 |
})
|
206 |
with gr.Blocks(css="#chatbot {overflow:auto; height:500px;}") as demo:
|
207 |
with gr.Row():
|
|
|
238 |
"Generate an audio of this image",
|
239 |
"Can you describe the audio with text?",
|
240 |
"Generate a speech with text 'here we go'",
|
241 |
+
"Transfer the mono audio into binaural audio",
|
242 |
"I want to inpaint this audio",
|
243 |
+
"What event in this audio?",
|
244 |
+
"generate a piece of singing voice. Text sequence is 小酒窝长睫毛AP是你最美的记号. Note sequence is C#4/Db4 | F#4/Gb4 | G#4/Ab4 | A#4/Bb4 F#4/Gb4 | F#4/Gb4 C#4/Db4 | C#4/Db4 | rest | C#4/Db4 | A#4/Bb4 | G#4/Ab4 | A#4/Bb4 | G#4/Ab4 | F4 | C#4/Db4. Note duration sequence is 0.407140 | 0.376190 | 0.242180 | 0.509550 0.183420 | 0.315400 0.235020 | 0.361660 | 0.223070 | 0.377270 | 0.340550 | 0.299620 | 0.344510 | 0.283770 | 0.323390 | 0.360340.",
|
245 |
],
|
246 |
inputs=txt
|
247 |
)
|