Spaces:
Running on CPU Upgrade
Running on CPU Upgrade
mariesig commited on
Commit ·
0e29093
1
Parent(s): 2df6829
improve style intro & radio button model
Browse files- app.py +2 -2
- constants.py +1 -1
- intro.md +6 -9
app.py
CHANGED
|
@@ -256,12 +256,12 @@ with gr.Blocks() as demo:
|
|
| 256 |
)
|
| 257 |
model_radio = gr.Radio(
|
| 258 |
[*ENHANCEMENT_MODELS],
|
| 259 |
-
value="
|
| 260 |
label="Select Model",
|
| 261 |
info=(
|
|
|
|
| 262 |
"[FINCH](https://ai-coustics.com/2025/06/12/introducing-finch-2-the-new-aicoustics-model-for-studio-quality-speech/): specialized on voice isolation/removing background noise (API key required). "
|
| 263 |
"[LARK 2](https://ai-coustics.com/2025/07/29/lark-2-next-generation-reconstructive-speech-enhancement/): universal speech enhancement model (API key required)."
|
| 264 |
-
"[QUAIL](https://ai-coustics.com/2025/07/02/meet-quail-the-most-advanced-real-time-speech-enhancement-model/): lightweight, specialized in real-time audio enhancement (no API key needed)."
|
| 265 |
),
|
| 266 |
)
|
| 267 |
btn = gr.Button("Enhance")
|
|
|
|
| 256 |
)
|
| 257 |
model_radio = gr.Radio(
|
| 258 |
[*ENHANCEMENT_MODELS],
|
| 259 |
+
value="Quail",
|
| 260 |
label="Select Model",
|
| 261 |
info=(
|
| 262 |
+
"[QUAIL](https://ai-coustics.com/2025/07/02/meet-quail-the-most-advanced-real-time-speech-enhancement-model/): lightweight, specialized in real-time audio enhancement (no API key needed). "
|
| 263 |
"[FINCH](https://ai-coustics.com/2025/06/12/introducing-finch-2-the-new-aicoustics-model-for-studio-quality-speech/): specialized on voice isolation/removing background noise (API key required). "
|
| 264 |
"[LARK 2](https://ai-coustics.com/2025/07/29/lark-2-next-generation-reconstructive-speech-enhancement/): universal speech enhancement model (API key required)."
|
|
|
|
| 265 |
),
|
| 266 |
)
|
| 267 |
btn = gr.Button("Enhance")
|
constants.py
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
from typing import Final
|
| 2 |
|
| 3 |
|
| 4 |
-
ENHANCEMENT_MODELS: Final = ["FINCH", "
|
| 5 |
API_V2_URL: Final = "https://api.ai-coustics.io/v2"
|
| 6 |
CHUNK_SIZE: Final = 1024
|
| 7 |
TIMEOUT_FACTOR_MB: Final = 60
|
|
|
|
| 1 |
from typing import Final
|
| 2 |
|
| 3 |
|
| 4 |
+
ENHANCEMENT_MODELS: Final = [("Quail", "QUAIL"), ("Finch", "FINCH"), ("Lark 2", "LARK_V2")]
|
| 5 |
API_V2_URL: Final = "https://api.ai-coustics.io/v2"
|
| 6 |
CHUNK_SIZE: Final = 1024
|
| 7 |
TIMEOUT_FACTOR_MB: Final = 60
|
intro.md
CHANGED
|
@@ -1,14 +1,11 @@
|
|
| 1 |
|
| 2 |
-
Welcome! This interactive demo lets you denoise and enhance audio files using ai-coustics models.
|
| 3 |
|
| 4 |
-
|
| 5 |
-
- [
|
| 6 |
-
- [
|
| 7 |
-
- [Lark](https://ai-coustics.com/2025/07/29/lark-2-next-generation-reconstructive-speech-enhancement/): Our most advanced, universal speech enhancement model, capable of restoring audio artifacts such as distortion. Also available via our [API](https://docs.ai-coustics.com/api-reference/quickstart) (API key required).
|
| 8 |
|
| 9 |
-
|
| 10 |
|
| 11 |
-
|
| 12 |
|
| 13 |
-
Upload or record a noisy speech sample to enhance its quality. Optionally, add background noise to the input. Adjust the enhancement level to control enhancement you want to apply. You can try Quail for free; to use Lark 2 and Finch, you'll need an API key. Alternatively, preview enhancement results instantly by selecting one of the preprocessed examples below.
|
| 14 |
-
|
|
|
|
| 1 |
|
| 2 |
+
Welcome! This interactive demo lets you denoise and enhance audio files using ai-coustics models. Choose from three models, each designed for specific use cases:
|
| 3 |
|
| 4 |
+
- [Quail](https://ai-coustics.com/2025/07/02/meet-quail-the-most-advanced-real-time-speech-enhancement-model/): Our smallest, most lightweight model for real-time voice isolation. Try it for free here or integrate it with our [SDK](https://docs.ai-coustics.com/sdk/overview).
|
| 5 |
+
- [Finch](https://ai-coustics.com/2025/06/12/introducing-finch-2-the-new-aicoustics-model-for-studio-quality-speech/): A larger, subtractive model focused on voice isolation and noise removal. Finch removes only unwanted parts of the signal, preserving the original speech. Access it via our [API](https://docs.ai-coustics.com/api-reference/quickstart).
|
| 6 |
+
- [Lark](https://ai-coustics.com/2025/07/29/lark-2-next-generation-reconstructive-speech-enhancement/): Our most advanced, generative model for universal speech enhancement. Lark not only removes noise but also reconstructs and restores lost details in audio, keeping the speaker’s voice intact. Also available through our [API](https://docs.ai-coustics.com/api-reference/quickstart).
|
|
|
|
| 7 |
|
| 8 |
+
**How to Use**
|
| 9 |
|
| 10 |
+
Upload or record a noisy speech sample to enhance its quality. You can also add background noise and adjust the enhancement level to your preference. Quail is free to use here; for Finch and Lark, obtain an API key from our website (includes a 120-minute free trial). Explore preprocessed examples below to preview the capabilities of each model.
|
| 11 |
|
|
|
|
|
|