patpizio commited on
Commit
08fcb5b
·
1 Parent(s): 99c5f63

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -15,6 +15,7 @@ model = T5ForConditionalGeneration.from_pretrained(
15
  )
16
 
17
  instruction = st.text_area('Write an instruction:')
 
18
 
19
  prompts = [
20
  f"""Below is an instruction that describes a task. Write a response that appropriately completes the request.
 
15
  )
16
 
17
  instruction = st.text_area('Write an instruction:')
18
+ max_tokens = st.number_input('Max output length: ', min_value=1, max_value=64)
19
 
20
  prompts = [
21
  f"""Below is an instruction that describes a task. Write a response that appropriately completes the request.