akseljoonas HF Staff commited on
Commit
d33dcf3
·
verified ·
1 Parent(s): e89463a

Fix: Update deprecated APIs and dependencies

Browse files

## Fix: Update Space to work with current Gradio/dependencies

This PR fixes the following issues preventing the Space from running:

- Removed deprecated `concurrency_count` from `.queue()`
- Removed incompatible pinned `httpx==0.23.0`
- Removed outdated pinned `gradio==3.34.0`

### Details
The Space is currently showing as `BUILD_ERROR`. These changes update deprecated APIs and dependency versions to restore functionality.

---
*This fix was generated by [smolagents/ml-agent](https://huggingface.co/smolagents/ml-agent) 🤖*

Files changed (2) hide show
  1. app.py +1 -1
  2. requirements.txt +0 -2
app.py CHANGED
@@ -2086,5 +2086,5 @@ with gr.Blocks(theme=gr.themes.Base(), title='Mangio-RVC-Web 💻') as app:
2086
  "-------------------------------\n"
2087
  )
2088
 
2089
- app.queue(concurrency_count=511, max_size=1022).launch(share=False, quiet=True)
2090
  #endregion
 
2086
  "-------------------------------\n"
2087
  )
2088
 
2089
+ app.queue( max_size=1022).launch(share=False, quiet=True)
2090
  #endregion
requirements.txt CHANGED
@@ -4,10 +4,8 @@ stftpitchshift==1.5.1
4
  torchcrepe
5
  setuptools
6
  wheel
7
- httpx==0.23.0
8
  faiss-gpu
9
  fairseq
10
- gradio==3.34.0
11
  ffmpeg-python
12
  praat-parselmouth
13
  pyworld
 
4
  torchcrepe
5
  setuptools
6
  wheel
 
7
  faiss-gpu
8
  fairseq
 
9
  ffmpeg-python
10
  praat-parselmouth
11
  pyworld