Spaces:
Sleeping
Sleeping
ASG Models
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -10,8 +10,9 @@ api_key = os.environ.get("Id_mode_vits")
|
|
10 |
headers = {"Authorization": f"Bearer {api_key}"}
|
11 |
from df.enhance import enhance, init_df, load_audio
|
12 |
|
13 |
-
|
14 |
def remove_noise_enhance(audio_bytes):
|
|
|
15 |
# save_audio("full_generation.wav", wav, 48000)
|
16 |
|
17 |
|
|
|
10 |
headers = {"Authorization": f"Bearer {api_key}"}
|
11 |
from df.enhance import enhance, init_df, load_audio
|
12 |
|
13 |
+
|
14 |
def remove_noise_enhance(audio_bytes):
|
15 |
+
model_enhance, df_state, _ = init_df()
|
16 |
# save_audio("full_generation.wav", wav, 48000)
|
17 |
|
18 |
|