Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -11,7 +11,7 @@ def generate(text):
|
|
11 |
max_length=200,
|
12 |
no_repeat_ngram_size=True,
|
13 |
num_beams=3,
|
14 |
-
|
15 |
temperature=1.5)
|
16 |
|
17 |
response=""
|
|
|
11 |
max_length=200,
|
12 |
no_repeat_ngram_size=True,
|
13 |
num_beams=3,
|
14 |
+
do_sample=True,
|
15 |
temperature=1.5)
|
16 |
|
17 |
response=""
|