Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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.
|