openai tiktoken gradio pypdf requests bs4