Spaces:
Runtime error
Runtime error
Commit
·
ecc9b36
1
Parent(s):
e19434f
Center Name
Browse files
app.py
CHANGED
|
@@ -488,7 +488,7 @@ if __name__ == "__main__":
|
|
| 488 |
logger.info("Starting app instance")
|
| 489 |
with demo:
|
| 490 |
with gr.Column():
|
| 491 |
-
gr.
|
| 492 |
# gr.Markdown(
|
| 493 |
# """An example use case for fine-tuned long document transformers. Model(s) are trained on [book summaries](https://hf.co/datasets/kmfoda/booksum). Architectures [in this demo](https://hf.co/spaces/pszemraj/document-summarization) are [LongT5-base](https://hf.co/pszemraj/long-t5-tglobal-base-16384-book-summary) and [Pegasus-X-Large](https://hf.co/pszemraj/pegasus-x-large-book-summary).
|
| 494 |
|
|
@@ -500,7 +500,7 @@ if __name__ == "__main__":
|
|
| 500 |
# <br>
|
| 501 |
# """
|
| 502 |
# )
|
| 503 |
-
gr.
|
| 504 |
gr.Markdown(
|
| 505 |
"""Enter/paste text below, or upload a file. Pick a model & adjust params (_optional_), and press **Generate Summary!**
|
| 506 |
"""
|
|
|
|
| 488 |
logger.info("Starting app instance")
|
| 489 |
with demo:
|
| 490 |
with gr.Column():
|
| 491 |
+
gr.html("<center><h1>Anushandhan Mitra</h1></center>")
|
| 492 |
# gr.Markdown(
|
| 493 |
# """An example use case for fine-tuned long document transformers. Model(s) are trained on [book summaries](https://hf.co/datasets/kmfoda/booksum). Architectures [in this demo](https://hf.co/spaces/pszemraj/document-summarization) are [LongT5-base](https://hf.co/pszemraj/long-t5-tglobal-base-16384-book-summary) and [Pegasus-X-Large](https://hf.co/pszemraj/pegasus-x-large-book-summary).
|
| 494 |
|
|
|
|
| 500 |
# <br>
|
| 501 |
# """
|
| 502 |
# )
|
| 503 |
+
gr.html("<center><p>Load Inputs & Select Parameters</p></center>")
|
| 504 |
gr.Markdown(
|
| 505 |
"""Enter/paste text below, or upload a file. Pick a model & adjust params (_optional_), and press **Generate Summary!**
|
| 506 |
"""
|