Spaces:
Sleeping
Sleeping
Upload folder using huggingface_hub
Browse files- app.py +1 -0
- requirements.txt +2 -1
app.py
CHANGED
|
@@ -1,5 +1,6 @@
|
|
| 1 |
# Save this as app.py in your folder
|
| 2 |
import gradio as gr
|
|
|
|
| 3 |
import torch
|
| 4 |
import os # Add this import at the top
|
| 5 |
import soundfile as sf
|
|
|
|
| 1 |
# Save this as app.py in your folder
|
| 2 |
import gradio as gr
|
| 3 |
+
from pathlib import Path
|
| 4 |
import torch
|
| 5 |
import os # Add this import at the top
|
| 6 |
import soundfile as sf
|
requirements.txt
CHANGED
|
@@ -6,4 +6,5 @@ huggingface-hub<1.0
|
|
| 6 |
numpy<2.0
|
| 7 |
scipy<1.15.0
|
| 8 |
soundfile
|
| 9 |
-
librosa
|
|
|
|
|
|
| 6 |
numpy<2.0
|
| 7 |
scipy<1.15.0
|
| 8 |
soundfile
|
| 9 |
+
librosa
|
| 10 |
+
pathlib
|