refactor: reorganize imports and improve code formatting across multiple modules
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
use std::time::Instant;
|
||||
use anyhow::Result;
|
||||
|
||||
use aha::models::index_tts2::{generate::IndexTTS2Generate, utils::download_index_tts2_need_model};
|
||||
use aha_openai_dive::v1::resources::chat::ChatCompletionParameters;
|
||||
use anyhow::Result;
|
||||
|
||||
#[tokio::test]
|
||||
async fn index_tts2_generate() -> Result<()> {
|
||||
@@ -45,4 +45,4 @@ async fn index_tts2_generate() -> Result<()> {
|
||||
let i_duration = i_start.elapsed();
|
||||
println!("Time elapsed in generate is: {:?}", i_duration);
|
||||
Ok(())
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user