fix errors

#7
by hysts HF staff - opened
Files changed (3) hide show
  1. README.md +2 -2
  2. app.py +2 -2
  3. requirements.txt +2 -0
README.md CHANGED
@@ -4,7 +4,7 @@ emoji: πŸ”Š
4
  colorFrom: indigo
5
  colorTo: red
6
  sdk: gradio
7
- sdk_version: 3.27.0
8
  app_file: app.py
9
  pinned: false
10
  license: bigscience-openrail-m
@@ -20,4 +20,4 @@ Part of the code from this repo is borrowed from the following repos. We would l
20
  > https://github.com/LAION-AI/CLAP
21
  > https://github.com/CompVis/stable-diffusion
22
  > https://github.com/v-iashin/SpecVQGAN
23
- > https://github.com/toshas/torch-fidelity
 
4
  colorFrom: indigo
5
  colorTo: red
6
  sdk: gradio
7
+ sdk_version: 3.36.1
8
  app_file: app.py
9
  pinned: false
10
  license: bigscience-openrail-m
 
20
  > https://github.com/LAION-AI/CLAP
21
  > https://github.com/CompVis/stable-diffusion
22
  > https://github.com/v-iashin/SpecVQGAN
23
+ > https://github.com/toshas/torch-fidelity
app.py CHANGED
@@ -207,7 +207,7 @@ with iface:
207
  )
208
  gr.HTML(
209
  """
210
- <p style="display:flex">For faster inference without a queue
211
  <a style="margin-left: .5em" href="https://huggingface.co/spaces/haoheliu/audioldm2-text2audio-text2music?duplicate=true">
212
  <img style="margin-top: 0em; margin-bottom: 0em" src="https://bit.ly/3gLdBN6" alt="Duplicate Space"></a>
213
  <p/>
@@ -352,6 +352,6 @@ with iface:
352
  )
353
  # <p>This demo is strictly for research demo purpose only. For commercial use please <a href="[email protected]">contact us</a>.</p>
354
 
355
- iface.queue(concurrency_count=3)
356
  iface.launch(debug=True)
357
  # iface.launch(debug=True, share=True)
 
207
  )
208
  gr.HTML(
209
  """
210
+ <p style="display:flex">For faster inference without a queue
211
  <a style="margin-left: .5em" href="https://huggingface.co/spaces/haoheliu/audioldm2-text2audio-text2music?duplicate=true">
212
  <img style="margin-top: 0em; margin-bottom: 0em" src="https://bit.ly/3gLdBN6" alt="Duplicate Space"></a>
213
  <p/>
 
352
  )
353
  # <p>This demo is strictly for research demo purpose only. For commercial use please <a href="[email protected]">contact us</a>.</p>
354
 
355
+ iface.queue(max_size=20)
356
  iface.launch(debug=True)
357
  # iface.launch(debug=True, share=True)
requirements.txt CHANGED
@@ -2,6 +2,8 @@ git+https://github.com/huggingface/diffusers.git
2
  transformers==4.30.2
3
  --extra-index-url https://download.pytorch.org/whl/cu113
4
  torch >= 2.0
 
5
  huggingface_hub
 
6
  timm
7
  audioldm2==0.0.3
 
2
  transformers==4.30.2
3
  --extra-index-url https://download.pytorch.org/whl/cu113
4
  torch >= 2.0
5
+ gradio_client==0.2.7
6
  huggingface_hub
7
+ pydantic<2
8
  timm
9
  audioldm2==0.0.3