app.py sanity check
Browse files
app.py
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#Code adapted from https://huggingface.co/spaces/pytorch/transformers/blob/main/app.py
|
2 |
+
|
3 |
+
import gradio as gr
|
4 |
+
|
5 |
+
description = "TNS Demo"
|
6 |
+
#article = "<p style='text-align: center'><a href='https://arxiv.org/abs/1810.04805'>BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding</a> | <a href='https://github.com/google-research/bert'>Github Repo</a></p>"
|
7 |
+
|
8 |
+
gr.Interface.load("PhLoDuTi/tns_ft5tech", description=description, examples=[
|
9 |
+
["""Last week, Microsoft announced that it would soon begin offering previews of Microsoft Office 2024, the next standalone perpetually licensed version of the Office suite. Like Office 2021 before it, Office 2024 will be part of Microsoft's Long-Term Servicing Channel (LTSC), which is intended for IT administrators and users who value stability and predictability over constant iteration. But Microsoft is being clearer than ever that it would really like people to move to using Microsoft 365 subscriptions, referring to Office 2024 as "a specialty product that Microsoft has committed to maintaining for use in exceptional circumstances." The company will be increasing prices for businesses by "up to 10 percent" compared to Office 2021, a price hike that Microsoft says will "support continued innovation in this niche space." Pricing for the consumer version of Office 2024 should stay the same as it is for Office 2021."""]
|
10 |
+
]).launch()
|
11 |
+
|