Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Peter
commited on
Commit
·
24e11fd
1
Parent(s):
afa6ede
add placeholder
Browse files
app.py
CHANGED
@@ -133,7 +133,12 @@ if __name__ == "__main__":
|
|
133 |
gr.Interface(
|
134 |
proc_submission,
|
135 |
inputs=[
|
136 |
-
gr.inputs.Textbox(
|
|
|
|
|
|
|
|
|
|
|
137 |
gr.inputs.Slider(
|
138 |
minimum=1, maximum=6, label="num_beams", default=4, step=1
|
139 |
),
|
|
|
133 |
gr.Interface(
|
134 |
proc_submission,
|
135 |
inputs=[
|
136 |
+
gr.inputs.Textbox(
|
137 |
+
lines=10,
|
138 |
+
max_lines=30,
|
139 |
+
label="input text",
|
140 |
+
placeholder="Enter text to summarize, the text will be cleaned and truncated to 512 words on Spaces. Narrative, academic (both papers and lecture transcription), and article text work well.",
|
141 |
+
),
|
142 |
gr.inputs.Slider(
|
143 |
minimum=1, maximum=6, label="num_beams", default=4, step=1
|
144 |
),
|