AhmedSSabir
commited on
Commit
•
dff4bb8
1
Parent(s):
dace0f4
Update app.py
Browse files
app.py
CHANGED
@@ -6,6 +6,12 @@ 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
|
|
|
6 |
import re
|
7 |
import os
|
8 |
import gradio as gr
|
9 |
+
import requests
|
10 |
+
|
11 |
+
url = "https://github.com/simonepri/lm-scorer/tree/master/lm_scorer/models"
|
12 |
+
resp = requests.get(url)
|
13 |
+
|
14 |
+
|
15 |
#from sentence_transformers import SentenceTransformer, util
|
16 |
#from sklearn.metrics.pairwise import cosine_similarity
|
17 |
from lm_scorer.models.auto import AutoLMScorer as LMScorer
|