ozipoetra commited on
Commit
15edbc7
Β·
1 Parent(s): 6ff0f7c
Files changed (2) hide show
  1. app.py +1 -6
  2. requirements.txt +1 -2
app.py CHANGED
@@ -268,13 +268,8 @@ def toggle_autotune(enabled):
268
  return gr.update(visible=enabled)
269
 
270
 
271
- # ── Get ffmpeg binary path via static_ffmpeg ──────────────────────────────────
272
  def _ffmpeg_bin() -> str:
273
- try:
274
- import static_ffmpeg
275
- static_ffmpeg.add_paths()
276
- except Exception:
277
- pass
278
  return "ffmpeg"
279
 
280
 
 
268
  return gr.update(visible=enabled)
269
 
270
 
271
+ # ── ffmpeg is pre-installed on HuggingFace Spaces ────────────────────────────
272
  def _ffmpeg_bin() -> str:
 
 
 
 
 
273
  return "ffmpeg"
274
 
275
 
requirements.txt CHANGED
@@ -21,8 +21,7 @@ soundfile>=0.12.1
21
  librosa>=0.10.0
22
  soxr>=0.3.7
23
  pydub>=0.25.1
24
- static-ffmpeg>=2.5
25
- static-sox>=1.0.0
26
 
27
  # ── Networking / utils ────────────────────────────────────────────────────────
28
  requests>=2.31.0
 
21
  librosa>=0.10.0
22
  soxr>=0.3.7
23
  pydub>=0.25.1
24
+ # ffmpeg and sox are pre-installed on HuggingFace Spaces β€” no static packages needed
 
25
 
26
  # ── Networking / utils ────────────────────────────────────────────────────────
27
  requests>=2.31.0