forked from open-webui/open-webui
		
	revert: ocr feature
This commit is contained in:
		
							parent
							
								
									df298e1001
								
							
						
					
					
						commit
						bb98c10abb
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -425,7 +425,7 @@ def get_loader(filename: str, file_content_type: str, file_path: str): | ||||||
|     ] |     ] | ||||||
| 
 | 
 | ||||||
|     if file_ext == "pdf": |     if file_ext == "pdf": | ||||||
|         loader = PyPDFLoader(file_path, extract_images=True) |         loader = PyPDFLoader(file_path) | ||||||
|     elif file_ext == "csv": |     elif file_ext == "csv": | ||||||
|         loader = CSVLoader(file_path) |         loader = CSVLoader(file_path) | ||||||
|     elif file_ext == "rst": |     elif file_ext == "rst": | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Timothy J. Baek
						Timothy J. Baek