Spaces:
Runtime error
Runtime error
philipp-zettl
commited on
Commit
•
c911437
1
Parent(s):
11e606f
Update app.py
Browse files
app.py
CHANGED
@@ -11,8 +11,8 @@ from itertools import chain
|
|
11 |
from nltk.translate.bleu_score import sentence_bleu, SmoothingFunction
|
12 |
import math
|
13 |
import markdown
|
14 |
-
from .text import doctree_from_url, get_selectors_for_class, split_by_heading, DocTree
|
15 |
-
from .optimization import ngrams, count_ngrams, self_bleu, dist_n, perplexity, js_divergence
|
16 |
|
17 |
|
18 |
model_name = 'philipp-zettl/t5-small-long-qa'
|
|
|
11 |
from nltk.translate.bleu_score import sentence_bleu, SmoothingFunction
|
12 |
import math
|
13 |
import markdown
|
14 |
+
from src.text import doctree_from_url, get_selectors_for_class, split_by_heading, DocTree
|
15 |
+
from src.optimization import ngrams, count_ngrams, self_bleu, dist_n, perplexity, js_divergence
|
16 |
|
17 |
|
18 |
model_name = 'philipp-zettl/t5-small-long-qa'
|