mirror of
https://github.com/huggingface/candle.git
synced 2025-06-20 04:00:28 +00:00
Creating new sync Api for candle-hub
.
- `api::Api` -> `api::tokio::api` (And created new `api::sync::Api`). - Remove `tokio` from all our examples. - Using similar codebase for now instead of ureq (for simplicity).
This commit is contained in:
6
candle-hub/src/api/mod.rs
Normal file
6
candle-hub/src/api/mod.rs
Normal file
@ -0,0 +1,6 @@
|
||||
/// The asynchronous version of the API
|
||||
#[cfg(feature = "tokio")]
|
||||
pub mod tokio;
|
||||
|
||||
/// The synchronous version of the API
|
||||
pub mod sync;
|
Reference in New Issue
Block a user