gradio torch requests re emoji nltk lxml beautifulsoup4 markdown scipy datasets transformers sentence-transformers retry