Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Peter
commited on
Commit
·
875f311
1
Parent(s):
d7c315a
:lipstick: format interface
Browse files
app.py
CHANGED
|
@@ -210,6 +210,8 @@ if __name__ == "__main__":
|
|
| 210 |
)
|
| 211 |
load_file_button = gr.Button("Load Uploaded File")
|
| 212 |
|
|
|
|
|
|
|
| 213 |
with gr.Column():
|
| 214 |
gr.Markdown("## Generate Summary")
|
| 215 |
gr.Markdown(
|
|
@@ -229,6 +231,8 @@ if __name__ == "__main__":
|
|
| 229 |
label="Summary Scores", placeholder="Summary scores will appear here"
|
| 230 |
)
|
| 231 |
|
|
|
|
|
|
|
| 232 |
with gr.Column():
|
| 233 |
gr.Markdown("## About the Model")
|
| 234 |
gr.Markdown(
|
|
@@ -237,6 +241,7 @@ if __name__ == "__main__":
|
|
| 237 |
gr.Markdown(
|
| 238 |
"- The model can be used with tag [pszemraj/led-large-book-summary](https://huggingface.co/pszemraj/led-large-book-summary). See the model card for details on usage & a notebook for a tutorial."
|
| 239 |
)
|
|
|
|
| 240 |
|
| 241 |
load_examples_button.click(
|
| 242 |
fn=load_single_example_text, inputs=[example_name], outputs=[input_text]
|
|
|
|
| 210 |
)
|
| 211 |
load_file_button = gr.Button("Load Uploaded File")
|
| 212 |
|
| 213 |
+
gr.Markdown('---')
|
| 214 |
+
|
| 215 |
with gr.Column():
|
| 216 |
gr.Markdown("## Generate Summary")
|
| 217 |
gr.Markdown(
|
|
|
|
| 231 |
label="Summary Scores", placeholder="Summary scores will appear here"
|
| 232 |
)
|
| 233 |
|
| 234 |
+
gr.Markdown('---')
|
| 235 |
+
|
| 236 |
with gr.Column():
|
| 237 |
gr.Markdown("## About the Model")
|
| 238 |
gr.Markdown(
|
|
|
|
| 241 |
gr.Markdown(
|
| 242 |
"- The model can be used with tag [pszemraj/led-large-book-summary](https://huggingface.co/pszemraj/led-large-book-summary). See the model card for details on usage & a notebook for a tutorial."
|
| 243 |
)
|
| 244 |
+
gr.Markdown('---')
|
| 245 |
|
| 246 |
load_examples_button.click(
|
| 247 |
fn=load_single_example_text, inputs=[example_name], outputs=[input_text]
|