Skip to content

Commit

Permalink
Merge pull request #1 from sTechLab/anton164-patch-1
Browse files Browse the repository at this point in the history
Fix requirements
  • Loading branch information
anton164 authored Apr 24, 2024
2 parents 56573fa + df1135e commit 477ac1a
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 15 deletions.
10 changes: 6 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,17 @@ This repository contains the code behind the data analysis presented in the Vote
- [Figshare dataset publication](https://doi.org/10.6084/m9.figshare.13571084) with digital object identifier (DOI) **10.6084/m9.figshare.13571084**


## Repository set up

## Run the streamlit app
```
pip install -r requirements.txt
python -m spacy download en_core_web_lg
streamlit run app.py
```

### Run the streamlit app
## Full repository set up
```
streamlit run app.py
pip install -r requirements_extra.txt
python -m spacy download en_core_web_lg
```

# For repository maintainers (stechlab)
Expand Down
14 changes: 3 additions & 11 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,19 +1,11 @@
streamlit==1.1.0
pandas
tweepy
pickle5
python-dotenv
gensim
torch
sklearn
nltk
matplotlib
bs4
spacy
seaborn
twarc
tqdm
networkx
python-louvain
tldextract
plotly
plotly
altair==4
protobuf==3.20.0
10 changes: 10 additions & 0 deletions requirements_extra.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
networkx
python-louvain
twarc
scikit-learn
bs4
spacy
gensim
tweepy
torch
nltk

0 comments on commit 477ac1a

Please sign in to comment.