yonikremer
commited on
Commit
โข
42099a3
1
Parent(s):
6dd4824
shortened the maximum input and output length
Browse files
app.py
CHANGED
@@ -21,9 +21,9 @@ with st.form("request_form"):
|
|
21 |
)
|
22 |
|
23 |
output_length: int = st.number_input(
|
24 |
-
label="ืืืืช ืืืืืื ืืืงืกืืืืืช ืืคืื - ืืื 1 ื-
|
25 |
min_value=1,
|
26 |
-
max_value=
|
27 |
value=5,
|
28 |
)
|
29 |
|
@@ -32,7 +32,7 @@ with st.form("request_form"):
|
|
32 |
value="Instruction: Answer in yes or no.\n"
|
33 |
"Question: Is the sky blue?\n"
|
34 |
"Answer: ",
|
35 |
-
max_chars=
|
36 |
)
|
37 |
|
38 |
submitted: bool = st.form_submit_button(
|
|
|
21 |
)
|
22 |
|
23 |
output_length: int = st.number_input(
|
24 |
+
label="ืืืืช ืืืืืื ืืืงืกืืืืืช ืืคืื - ืืื 1 ื-2048",
|
25 |
min_value=1,
|
26 |
+
max_value=2048,
|
27 |
value=5,
|
28 |
)
|
29 |
|
|
|
32 |
value="Instruction: Answer in yes or no.\n"
|
33 |
"Question: Is the sky blue?\n"
|
34 |
"Answer: ",
|
35 |
+
max_chars=1024,
|
36 |
)
|
37 |
|
38 |
submitted: bool = st.form_submit_button(
|