forked from open-webui/open-webui
		
	fix: strip transcription text
This commit is contained in:
		
							parent
							
								
									98496a7055
								
							
						
					
					
						commit
						2ef4fc1215
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -69,7 +69,7 @@ def transcribe( | |||
| 
 | ||||
|         transcript = "".join([segment.text for segment in list(segments)]) | ||||
| 
 | ||||
|         return {"text": transcript} | ||||
|         return {"text": transcript.strip()} | ||||
| 
 | ||||
|     except Exception as e: | ||||
|         print(e) | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Timothy J. Baek
						Timothy J. Baek