File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -16,9 +16,9 @@ use open;
1616use speakstream:: ss:: SpeakStream ;
1717use std:: error:: Error ;
1818use std:: path:: PathBuf ;
19- use std:: time:: Instant ;
2019use std:: sync:: atomic:: { AtomicBool , Ordering } ;
2120use std:: sync:: { Arc , Mutex } ;
21+ use std:: time:: Instant ;
2222use tracing_subscriber:: { fmt, layer:: SubscriberExt , util:: SubscriberInitExt , EnvFilter } ;
2323
2424mod record;
@@ -236,7 +236,7 @@ async fn main() -> Result<(), Box<dyn Error>> {
236236 if let Some ( text) = & text. text {
237237 if let Some ( text) = & text. value {
238238 if !displayed_ai_label {
239- print ! ( "{}" , "AI: " . truecolor( 0 , 0 , 255 ) ) ;
239+ println ! ( "{}" , "AI: " . truecolor( 0 , 0 , 255 ) ) ;
240240 displayed_ai_label = true ;
241241 }
242242 print ! ( "{}" , text) ;
@@ -303,8 +303,9 @@ fn start_ptt_thread(
303303 }
304304 } else {
305305 println ! (
306- "{}" ,
307- "User recording too short. Aborting transcription and LLM response." . truecolor( 255 , 0 , 0 )
306+ "{}" ,
307+ "User recording too short. Aborting transcription and LLM response."
308+ . truecolor( 255 , 0 , 0 )
308309 ) ;
309310 }
310311 }
You can’t perform that action at this time.
0 commit comments