openai gradio pypdf tiktoken