Spaces:
Runtime error
Runtime error
Commit ·
7b6b3ee
1
Parent(s): f6cb59d
Update app.py
Browse files
app.py
CHANGED
|
@@ -3,6 +3,8 @@ import torch
|
|
| 3 |
from diffusers import AudioLDMPipeline
|
| 4 |
from transformers import AutoProcessor, ClapModel
|
| 5 |
|
|
|
|
|
|
|
| 6 |
# make Space compatible with CPU duplicates
|
| 7 |
if torch.cuda.is_available():
|
| 8 |
device = "cuda"
|
|
|
|
| 3 |
from diffusers import AudioLDMPipeline
|
| 4 |
from transformers import AutoProcessor, ClapModel
|
| 5 |
|
| 6 |
+
st.set_option('browser.gatherUsageStats', False)
|
| 7 |
+
|
| 8 |
# make Space compatible with CPU duplicates
|
| 9 |
if torch.cuda.is_available():
|
| 10 |
device = "cuda"
|