Commit
·
0b321da
1
Parent(s):
35dd4df
added clearer descriptions
Browse files
app.py
CHANGED
|
@@ -21,10 +21,12 @@ with st.form("request_form"):
|
|
| 21 |
label="Model name",
|
| 22 |
value="gpt2",
|
| 23 |
help=f"The name of the model to use."
|
|
|
|
|
|
|
| 24 |
)
|
| 25 |
|
| 26 |
output_length: int = st.number_input(
|
| 27 |
-
label="
|
| 28 |
min_value=1,
|
| 29 |
max_value=4096,
|
| 30 |
value=100,
|
|
|
|
| 21 |
label="Model name",
|
| 22 |
value="gpt2",
|
| 23 |
help=f"The name of the model to use."
|
| 24 |
+
f"Supported models are all the models in:"
|
| 25 |
+
f" https://huggingface.co/models?pipeline_tag=text-generation&library=pytorch",
|
| 26 |
)
|
| 27 |
|
| 28 |
output_length: int = st.number_input(
|
| 29 |
+
label="Number of word pieces in the generated text, 1-4096 (default: 100)",
|
| 30 |
min_value=1,
|
| 31 |
max_value=4096,
|
| 32 |
value=100,
|