mirror of
https://github.com/microsoft/markitdown.git
synced 2025-12-28 23:32:22 +00:00
Update README.md
This commit is contained in:
parent
423a01844a
commit
5c776bda70
@ -75,7 +75,7 @@ from markitdown import MarkItDown
|
||||
from openai import OpenAI
|
||||
import os
|
||||
client = OpenAI(api_key="your-api-key-here")
|
||||
md = MarkItDown(mlm_client=client, mlm_model="gpt-4o-2024-11-20")
|
||||
md = MarkItDown(llm_client=client, llm_model="gpt-4o-2024-11-20")
|
||||
supported_extensions = ('.pptx', '.docx', '.pdf', '.jpg', '.jpeg', '.png')
|
||||
files_to_convert = [f for f in os.listdir('.') if f.lower().endswith(supported_extensions)]
|
||||
for file in files_to_convert:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user