Sheshera Mysore commited on
Commit
aa2da35
·
1 Parent(s): a3c9117

Remove unnecessary reqs and remove matplotlib import

Browse files
Files changed (2) hide show
  1. app.py +5 -5
  2. requirements.txt +5 -8
app.py CHANGED
@@ -24,11 +24,11 @@ from sentence_transformers import SentenceTransformer, models
24
  import torch
25
  import ot
26
  # import seaborn as sns
27
- import matplotlib
28
- matplotlib.use('Agg')
29
- import matplotlib.pyplot as plt
30
- plt.rcParams['figure.dpi'] = 400
31
- plt.rcParams.update({'axes.labelsize': 'small'})
32
 
33
 
34
  in_path = './data'
 
24
  import torch
25
  import ot
26
  # import seaborn as sns
27
+ # import matplotlib
28
+ # matplotlib.use('Agg')
29
+ # import matplotlib.pyplot as plt
30
+ # plt.rcParams['figure.dpi'] = 400
31
+ # plt.rcParams.update({'axes.labelsize': 'small'})
32
 
33
 
34
  in_path = './data'
requirements.txt CHANGED
@@ -1,11 +1,8 @@
1
  joblib
2
- geomloss==0.2.4
3
- matplotlib==3.3.4
4
- numpy==1.21.6
5
- pandas==1.3.5
6
- POT==0.8.2
7
- scikit-learn==1.0.1
8
  sentence-transformers==2.1.0
9
  huggingface-hub==0.10.1
10
- torch==1.10.0
11
- altair<5
 
1
  joblib
2
+ numpy
3
+ pandas
4
+ POT
5
+ scikit-learn
 
 
6
  sentence-transformers==2.1.0
7
  huggingface-hub==0.10.1
8
+ torch==1.10.0