Commit
·
02ebb7f
1
Parent(s):
776637b
Update app.py
Browse files
app.py
CHANGED
|
@@ -2,7 +2,6 @@ import os
|
|
| 2 |
import gradio as gr
|
| 3 |
from scipy.io.wavfile import write
|
| 4 |
|
| 5 |
-
|
| 6 |
def inference(audio):
|
| 7 |
os.makedirs("out", exist_ok=True)
|
| 8 |
write('test.wav', audio[0], audio[1])
|
|
@@ -10,7 +9,7 @@ def inference(audio):
|
|
| 10 |
return "./out/htdemucs/test/vocals.wav","./out/htdemucs/test/no_vocals.wav"
|
| 11 |
|
| 12 |
title = "Ilaria UVR 💖"
|
| 13 |
-
description = "Trascina un file audio e separalo facilmente!
|
| 14 |
article = "Made with 💖 by Ilaria"
|
| 15 |
|
| 16 |
examples=[['test.mp3']]
|
|
@@ -22,4 +21,4 @@ gr.Interface(
|
|
| 22 |
description=description,
|
| 23 |
article=article,
|
| 24 |
examples=examples
|
| 25 |
-
).launch(
|
|
|
|
| 2 |
import gradio as gr
|
| 3 |
from scipy.io.wavfile import write
|
| 4 |
|
|
|
|
| 5 |
def inference(audio):
|
| 6 |
os.makedirs("out", exist_ok=True)
|
| 7 |
write('test.wav', audio[0], audio[1])
|
|
|
|
| 9 |
return "./out/htdemucs/test/vocals.wav","./out/htdemucs/test/no_vocals.wav"
|
| 10 |
|
| 11 |
title = "Ilaria UVR 💖"
|
| 12 |
+
description = "Trascina un file audio e separalo facilmente! Supportami su Ko-Fi.</p>"
|
| 13 |
article = "Made with 💖 by Ilaria"
|
| 14 |
|
| 15 |
examples=[['test.mp3']]
|
|
|
|
| 21 |
description=description,
|
| 22 |
article=article,
|
| 23 |
examples=examples
|
| 24 |
+
).launch()
|