Surn commited on
Commit
bedb522
1 Parent(s): c81e4b7
Files changed (1) hide show
  1. app.py +4 -3
app.py CHANGED
@@ -211,12 +211,13 @@ def ui(**kwargs):
211
  # UnlimitedMusicGen
212
  This is your private demo for [UnlimitedMusicGen](https://github.com/Oncorporation/audiocraft), a simple and controllable model for music generation
213
  presented at: ["Simple and Controllable Music Generation"](https://huggingface.co/papers/2306.05284)
214
- Todo: Working on improved Melody Conditioned Music Generation transitions.
215
-
216
  Disclaimer: This won't run on CPU only. Clone this App and run on GPU instance!
 
 
217
  """
218
  )
219
- if IS_SHARED_SPACE:
220
  gr.Markdown("""
221
  ⚠ This Space doesn't work in this shared UI ⚠
222
 
 
211
  # UnlimitedMusicGen
212
  This is your private demo for [UnlimitedMusicGen](https://github.com/Oncorporation/audiocraft), a simple and controllable model for music generation
213
  presented at: ["Simple and Controllable Music Generation"](https://huggingface.co/papers/2306.05284)
214
+
 
215
  Disclaimer: This won't run on CPU only. Clone this App and run on GPU instance!
216
+
217
+ Todo: Working on improved Melody Conditioned Music Generation transitions and consistency.
218
  """
219
  )
220
+ if IS_SHARED_SPACE and not torch.cuda.is_available():
221
  gr.Markdown("""
222
  ⚠ This Space doesn't work in this shared UI ⚠
223