Skip to main content

Crate gradio

Crate gradio 

Source
Expand description

Rust client library for Gradio apps and Hugging Face Spaces.

The primary error model is Error and Result<T>. anyhow is still re-exported temporarily for downstream compatibility, but new code should prefer gradio::Error and gradio::Result<T>.

Re-exports§

pub use anyhow;
pub use serde;
pub use tokio;
pub use client::*;
pub use data::*;
pub use error::*;
pub use stream::*;

Modules§

client
constants
data
error
space
stream
structs
sync