normalllll
normalllll
 ``` "F:\GPT-SoVITS\.venv\Scripts\python.exe" tools/asr/funasr_asr.py -i "F:\GPT-SoVITS\raw\" -o "output/asr_opt" -s large -l zh -p float16 ```  ``` usage: funasr_asr.py [-h] -i INPUT_FOLDER -o OUTPUT_FOLDER [-s MODEL_SIZE] [-l {zh}] [-p {float16,float32}]...
> 我懂了, raw" 这里的双引号被\转义掉了,所以后面双引号全乱了 這個 `\"` 并不是在程式碼中的,因此并不是轉義
Sorry, I can't use it according to https://cjycode.com/flutter_rust_bridge/guides/miscellaneous/methods#methods-in-external-crates using `#[frb(external)]` Still got an opaque type my external crate: ```rust impl MyClient { pub async fn get_posts(&self, tags: Vec, limit: usize,...
I want to automatically mirror the model of the external crate
Try: /other/my_trait.rs ```rust use std::future::Future; pub trait MyTrait { fn f1() -> impl Future; } ``` /other/subcrate/my_struct1.rs ```rust pub struct MyStruct1 {} impl MyTrait for MyStruct1 { fn f1() ->...
I mean something like this: ```dart StreamController streamController = StreamController(); final sink = streamController.sink; final stream = streamController.stream; final result = await rust_client_stream_func(stream); sink.add(1); sink.add(2); sink.add(3); sink.close(); ``` ```rust pub...
Is there a way to convert these 3 Rust examples to Dart at the same time? ```rust struct HelloRequest { name: String, } struct HelloResponse { message: String, } pub...
I created an RPC framework for Rust (still in development) and currently use proc_macro to generate code, hoping it can be used seamlessly in Dart.
```rust use anyhow::Result; use std::{thread::sleep, time::Duration}; use crate::frb_generated::StreamSink; const ONE_SECOND: Duration = Duration::from_secs(1); // can't omit the return type yet, this is a bug pub fn tick(sink: StreamSink) -> Result...
I tried this: ```rust use std::sync::Arc; use rrpc_core::client::{Client, QuicClient, QuicConfig}; use rrpc_core::codec::BincodeCodec; // mod hello{ // use serde::{Deserialize, Serialize}; // use rrpc_core::transport::*; // use rrpc_core::client::{Client, QuicClient, QuicConfig}; // use rrpc_core::codec::{BincodeCodec,...