Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -9,7 +9,6 @@ tmodel = T5ForConditionalGeneration.from_pretrained('./')
|
|
9 |
form = st.form("T5-form")
|
10 |
|
11 |
examples = ["I will return it to yu once it is donr",
|
12 |
-
"Where os you're car?",
|
13 |
"Iu is going to rain",
|
14 |
"Feel free to raach out to me",
|
15 |
"Wheir do you live?",
|
@@ -30,7 +29,7 @@ if submit:
|
|
30 |
do_sample=True,
|
31 |
max_length=50,
|
32 |
top_p=0.99,
|
33 |
-
top_k=
|
34 |
num_return_sequences=1
|
35 |
)
|
36 |
|
|
|
9 |
form = st.form("T5-form")
|
10 |
|
11 |
examples = ["I will return it to yu once it is donr",
|
|
|
12 |
"Iu is going to rain",
|
13 |
"Feel free to raach out to me",
|
14 |
"Wheir do you live?",
|
|
|
29 |
do_sample=True,
|
30 |
max_length=50,
|
31 |
top_p=0.99,
|
32 |
+
top_k=70,
|
33 |
num_return_sequences=1
|
34 |
)
|
35 |
|