yonikremer commited on
Commit
42099a3
1 Parent(s): 6dd4824

shortened the maximum input and output length

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -21,9 +21,9 @@ with st.form("request_form"):
21
  )
22
 
23
  output_length: int = st.number_input(
24
- label="讻诪讜转 讛诪讬诇讬诐 讛诪拽住讬诪诇讬转 讘驻诇讟 - 讘讬谉 1 诇-4096",
25
  min_value=1,
26
- max_value=4096,
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=2048,
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(