File size: 1,209 Bytes
0ef9213 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | # Core Libraries gradio>=4.0,<5.0 # UI framework (tested with 4.14.0, but should work with 4.x) docx>=0.2.4 # For creating DOCX files (python-docx) PyPDF2>=3.0.0 # For reading PDF files transformers>=4.36.0,<4.37 # Hugging Face Transformers (version range for compatibility) sentencepiece>=0.1.9,<0.2.0 # Required by some Hugging Face tokenizers torch>=2.1.0 # PyTorch (at least 2.1 for recent transformers compatibility) # Other commonly used packages (you might already have these) # - If you encounter installation issues, you can try removing or commenting out # lines for packages you believe are already installed correctly in your # environment. However, it's generally good practice to include them # for reproducibility. typing-extensions>=4.0.0 # For type hints and compatibility (often a dependency) requests>=2.0.0 # Used by transformers and other libraries filelock>=3.0.0 # Used by transformers for managing cache packaging>=20.0 # For version handling regex!=2019.12.17 # Used for text processing tqdm>=4.27 # For progress bars (used by transformers) numpy>=1.17 # Fundamental numerical computing |