Eaz123 commited on
Commit
17fc2c5
·
verified ·
1 Parent(s): e1c005c

Update setup.sh

Browse files
Files changed (1) hide show
  1. setup.sh +8 -7
setup.sh CHANGED
@@ -1,7 +1,8 @@
1
- gradio==4.32.0
2
- transformers==4.38.2
3
- torch==2.2.2
4
- nltk==3.8.1
5
- language-tool-python==2.9.4 # Requires Java installed
6
- git+https://github.com/PrithivirajDamodaran/Parrot_Paraphraser.git
7
- spacy==3.7.2
 
 
1
+ #!/bin/bash
2
+
3
+ # Install Java for language-tool-python
4
+ apt-get update && apt-get install -y default-jre
5
+
6
+ # Optional: Download NLTK corpora and SpaCy model
7
+ python -m nltk.downloader punkt averaged_perceptron_tagger
8
+ python -m spacy download en_core_web_sm