Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -47,7 +47,7 @@ def run_bart(question, censor):
|
|
47 |
min_length=1,
|
48 |
max_length=100,
|
49 |
do_sample=True,
|
50 |
-
bad_words_ids=bad_words_ids
|
51 |
early_stopping=True,
|
52 |
num_beams=4,
|
53 |
temperature=1.0,
|
|
|
47 |
min_length=1,
|
48 |
max_length=100,
|
49 |
do_sample=True,
|
50 |
+
bad_words_ids=bad_words_ids,
|
51 |
early_stopping=True,
|
52 |
num_beams=4,
|
53 |
temperature=1.0,
|