Spaces:
Paused
Paused
File size: 474 Bytes
bfde348 5915064 bfde348 c76ee8b 5915064 bfde348 c76ee8b |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
import gradio as gr
from stable_audio_tools import get_pretrained_model
from stable_audio_tools.interface.gradio import create_ui
import json
import torch
def run():
torch.manual_seed(42)
interface = create_ui(
model_config_path = "model_config_float_conditioning_dit_all.json",
ckpt_path="epoch=684-step=319200.ckpt",
model_half=False
)
interface.queue()
interface.launch(share=True)
if __name__ == "__main__":
run()
|