AhmedSSabir commited on
Commit
769eaed
1 Parent(s): 2d3cd81

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -6,10 +6,10 @@ import argparse
6
  import re
7
  import os
8
  import gradio as gr
9
- from sentence_transformers import SentenceTransformer, util
10
- from sklearn.metrics.pairwise import cosine_similarity
11
  from lm_scorer.models.auto import AutoLMScorer as LMScorer
12
- from sentence_transformers import SentenceTransformer, util
13
  from sklearn.metrics.pairwise import cosine_similarity
14
 
15
  device = "cuda:0" if torch.cuda.is_available() else "cpu"
 
6
  import re
7
  import os
8
  import gradio as gr
9
+ #from sentence_transformers import SentenceTransformer, util
10
+ #from sklearn.metrics.pairwise import cosine_similarity
11
  from lm_scorer.models.auto import AutoLMScorer as LMScorer
12
+ #from sentence_transformers import SentenceTransformer, util
13
  from sklearn.metrics.pairwise import cosine_similarity
14
 
15
  device = "cuda:0" if torch.cuda.is_available() else "cpu"