PsiPi commited on
Commit
1c38862
1 Parent(s): 4276a5c

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +3 -3
README.md CHANGED
@@ -22,7 +22,7 @@ extra_gated_fields:
22
 
23
  # Stable Audio Open 1.0
24
 
25
- ![image/webp](https://cdn-uploads.huggingface.co/production/uploads/64a22257d3149e05bc6d259f/iKlxzZY0svXP9j6j1hiWW.webp)
26
 
27
  Please note: For commercial use, please refer to [https://stability.ai/license](https://stability.ai/license)
28
 
@@ -52,7 +52,7 @@ from stable_audio_tools.inference.generation import generate_diffusion_cond
52
  device = "cuda" if torch.cuda.is_available() else "cpu"
53
 
54
  # Download model
55
- model, model_config = get_pretrained_model("stabilityai/stable-audio-open-1.0")
56
  sample_rate = model_config["sample_rate"]
57
  sample_size = model_config["sample_size"]
58
 
@@ -95,7 +95,7 @@ import torch
95
  import soundfile as sf
96
  from diffusers import StableAudioPipeline
97
 
98
- pipe = StableAudioPipeline.from_pretrained("stabilityai/stable-audio-open-1.0", torch_dtype=torch.float16)
99
  pipe = pipe.to("cuda")
100
 
101
  # define the prompts
 
22
 
23
  # Stable Audio Open 1.0
24
 
25
+ ![image/png](https://cdn-uploads.huggingface.co/production/uploads/64a22257d3149e05bc6d259f/o-a_0Afsjak21fExCtkRQ.png)
26
 
27
  Please note: For commercial use, please refer to [https://stability.ai/license](https://stability.ai/license)
28
 
 
52
  device = "cuda" if torch.cuda.is_available() else "cpu"
53
 
54
  # Download model
55
+ model, model_config = get_pretrained_model("PsiPi/audio")
56
  sample_rate = model_config["sample_rate"]
57
  sample_size = model_config["sample_size"]
58
 
 
95
  import soundfile as sf
96
  from diffusers import StableAudioPipeline
97
 
98
+ pipe = StableAudioPipeline.from_pretrained("PsiPi/audio", torch_dtype=torch.float16)
99
  pipe = pipe.to("cuda")
100
 
101
  # define the prompts