Spaces:
Runtime error
Runtime error
Update generators/model.py
Browse files- generators/model.py +1 -1
generators/model.py
CHANGED
@@ -10,7 +10,7 @@ prompt = PromptTemplate()
|
|
10 |
stop_words = ["###", "\n\n", "<br><br>", "The authors: "]
|
11 |
|
12 |
|
13 |
-
def model(type, template, seq_len=
|
14 |
train = ''
|
15 |
if type == 'title':
|
16 |
train = prompt.TITLE_TO_ABSTRACST
|
|
|
10 |
stop_words = ["###", "\n\n", "<br><br>", "The authors: "]
|
11 |
|
12 |
|
13 |
+
def model(type, template, seq_len=250):
|
14 |
train = ''
|
15 |
if type == 'title':
|
16 |
train = prompt.TITLE_TO_ABSTRACST
|