Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -33,8 +33,25 @@ def inference(input_file, **kwargs):
|
|
33 |
|
34 |
return "out.wav"
|
35 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
36 |
gr.Interface(
|
37 |
fn=inference,
|
38 |
-
inputs=gr.Audio(type="filepath", source="upload"),
|
39 |
-
outputs="audio"
|
40 |
-
|
|
|
|
|
|
|
|
|
|
33 |
|
34 |
return "out.wav"
|
35 |
|
36 |
+
made ="""<div style="text-align: center;">
|
37 |
+
<p>Made with ❤ by Raaniel</p>"""
|
38 |
+
|
39 |
+
desc = """<div style="text-align: left;"> AudiomAIster is a fork of VoiceFixer
|
40 |
+
that focuses on general purpose audio (where VoiceFixer focusses on voice alone,
|
41 |
+
AudiomAIster will reduce noise while enhancing voice and sound effects,
|
42 |
+
making it more suitable for talks and videos where more than just voices exist).
|
43 |
+
<br><br>
|
44 |
+
<a href="https://github.com/peterwilli/audio-maister" target="_blank" rel="noopener noreferrer">
|
45 |
+
See the model main repository</a>
|
46 |
+
<br></div>
|
47 |
+
"""
|
48 |
+
|
49 |
gr.Interface(
|
50 |
fn=inference,
|
51 |
+
inputs=gr.Audio(type="filepath", source="upload", label = "Upload the audio that needs to be fixed!"),
|
52 |
+
outputs=gr.Audio(type = "filepath", label = "Your fixed audio is going to show up below: "),
|
53 |
+
title="🩺🎧 Fix all your podcast, video or live stream audio! 🎧🩺",
|
54 |
+
description = desc,
|
55 |
+
article = made,
|
56 |
+
theme=gr.themes.Soft(primary_hue="purple",secondary_hue="violet", neutral_hue="neutral")
|
57 |
+
).launch()
|