Spaces:
Runtime error
Runtime error
peter szemraj
commited on
Commit
·
3b6fc32
1
Parent(s):
ebe69d1
streamline
Browse files
app.py
CHANGED
|
@@ -117,9 +117,9 @@ if __name__ == "__main__":
|
|
| 117 |
logging.info("launching interface...")
|
| 118 |
|
| 119 |
with demo:
|
| 120 |
-
gr.Markdown("# Auto-
|
| 121 |
gr.Markdown(
|
| 122 |
-
"Enter part of an email, and
|
| 123 |
)
|
| 124 |
gr.Markdown("---")
|
| 125 |
|
|
@@ -174,7 +174,7 @@ if __name__ == "__main__":
|
|
| 174 |
|
| 175 |
gr.Markdown("## About")
|
| 176 |
gr.Markdown(
|
| 177 |
-
"This model is a fine-tuned version of distilgpt2 on a dataset of 50k emails sourced from the internet, including the classic `aeslc` dataset."
|
| 178 |
)
|
| 179 |
gr.Markdown(
|
| 180 |
"The intended use of this model is to provide suggestions to _auto-complete_ the rest of your email. Said another way, it should serve as a **tool to write predictable emails faster**. It is not intended to write entire emails from scratch; at least **some input** is required to guide the direction of the model.\n\nPlease verify any suggestions by the model for A) False claims and B) negation statements **before** accepting/sending something."
|
|
|
|
| 117 |
logging.info("launching interface...")
|
| 118 |
|
| 119 |
with demo:
|
| 120 |
+
gr.Markdown("# Auto-Complete Emails - Demo")
|
| 121 |
gr.Markdown(
|
| 122 |
+
"Enter part of an email, and a text-gen model will complete it! See details below. "
|
| 123 |
)
|
| 124 |
gr.Markdown("---")
|
| 125 |
|
|
|
|
| 174 |
|
| 175 |
gr.Markdown("## About")
|
| 176 |
gr.Markdown(
|
| 177 |
+
"[This model](https://huggingface.co/postbot/distilgpt2-emailgen) is a fine-tuned version of distilgpt2 on a dataset of 50k emails sourced from the internet, including the classic `aeslc` dataset.\n\nCheck out the model card for details on notebook & command line usage."
|
| 178 |
)
|
| 179 |
gr.Markdown(
|
| 180 |
"The intended use of this model is to provide suggestions to _auto-complete_ the rest of your email. Said another way, it should serve as a **tool to write predictable emails faster**. It is not intended to write entire emails from scratch; at least **some input** is required to guide the direction of the model.\n\nPlease verify any suggestions by the model for A) False claims and B) negation statements **before** accepting/sending something."
|