pub struct HuggingFaceHub { /* private fields */ }Expand description
HuggingFace Hub client
Implementations§
Source§impl HuggingFaceHub
impl HuggingFaceHub
Sourcepub fn push_all(
&self,
engine: &SonaEngine,
config: &ExportConfig,
repo_id: &str,
) -> Result<ExportResult, ExportError>
pub fn push_all( &self, engine: &SonaEngine, config: &ExportConfig, repo_id: &str, ) -> Result<ExportResult, ExportError>
Push all exports to HuggingFace Hub
Auto Trait Implementations§
impl Freeze for HuggingFaceHub
impl RefUnwindSafe for HuggingFaceHub
impl Send for HuggingFaceHub
impl Sync for HuggingFaceHub
impl Unpin for HuggingFaceHub
impl UnwindSafe for HuggingFaceHub
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