pub struct MMAudioBackend {
python: String,
script: PathBuf,
device: String,
guidance: f64,
steps: i64,
negative_prompt: String,
seed: Option<i64>,
native_duration: f64,
worker: Option<Worker>,
}Expand description
MMAudio via mmaudio_worker.py (CC BY-NC 4.0 weights).
Fields§
§python: String§script: PathBuf§device: String§guidance: f64§steps: i64§negative_prompt: String§seed: Option<i64>§native_duration: f64§worker: Option<Worker>Implementations§
Trait Implementations§
Source§impl SfxBackend for MMAudioBackend
impl SfxBackend for MMAudioBackend
fn name(&self) -> &'static str
Source§fn asset_comment(&self) -> Option<&'static str>
fn asset_comment(&self) -> Option<&'static str>
asset_comment, when the backend attaches a provenance note.fn generate_to( &mut self, out_path: &Path, prompt: Option<&str>, duration_seconds: f64, _influence: f64, ) -> Result<()>
fn close(&mut self) -> Result<()>
Auto Trait Implementations§
impl Freeze for MMAudioBackend
impl RefUnwindSafe for MMAudioBackend
impl Send for MMAudioBackend
impl Sync for MMAudioBackend
impl Unpin for MMAudioBackend
impl UnsafeUnpin for MMAudioBackend
impl UnwindSafe for MMAudioBackend
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more