forked from open-webui/open-webui
		
	Format fix
This commit is contained in:
		
							parent
							
								
									429242b4d3
								
							
						
					
					
						commit
						81c8717d75
					
				
					 1 changed files with 4 additions and 2 deletions
				
			
		|  | @ -80,10 +80,12 @@ def transcribe( | ||||||
| 
 | 
 | ||||||
|         log.debug(f"whisper_kwargs: {whisper_kwargs}") |         log.debug(f"whisper_kwargs: {whisper_kwargs}") | ||||||
| 
 | 
 | ||||||
|         try:  |         try: | ||||||
|             model = WhisperModel(**whisper_kwargs) |             model = WhisperModel(**whisper_kwargs) | ||||||
|         except: |         except: | ||||||
|             log.debug("WhisperModel initialization failed, attempting download with local_files_only=False") |             log.debug( | ||||||
|  |                 "WhisperModel initialization failed, attempting download with local_files_only=False" | ||||||
|  |             ) | ||||||
|             whisper_kwargs["local_files_only"] = False |             whisper_kwargs["local_files_only"] = False | ||||||
|             model = WhisperModel(**whisper_kwargs) |             model = WhisperModel(**whisper_kwargs) | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Self Denial
						Self Denial