Spaces:
Runtime error
Runtime error
Ahsen Khaliq
commited on
Commit
•
a87cff7
1
Parent(s):
ca67594
Update app.py
Browse files
app.py
CHANGED
@@ -7,7 +7,8 @@ description = "Gradio Demo for BART, to use it, simply add your text, or click o
|
|
7 |
article = "<p style='text-align: center'><a href='https://arxiv.org/abs/1910.13461' target='_blank'>BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and Comprehension</a></p>"
|
8 |
|
9 |
examples = [
|
10 |
-
["I have a problem with my iphone that needs to be resolved asap!!","bart-large-mnli","urgent, not urgent, phone, tablet, computer",False]
|
|
|
11 |
]
|
12 |
|
13 |
io1 = gr.Interface.load("huggingface/facebook/bart-large-mnli")
|
|
|
7 |
article = "<p style='text-align: center'><a href='https://arxiv.org/abs/1910.13461' target='_blank'>BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and Comprehension</a></p>"
|
8 |
|
9 |
examples = [
|
10 |
+
["I have a problem with my iphone that needs to be resolved asap!!","bart-large-mnli","urgent, not urgent, phone, tablet, computer",False],
|
11 |
+
["The tower is 324 metres (1,063 ft) tall, about the same height as an 81-storey building, and the tallest structure in Paris. Its base is square, measuring 125 metres (410 ft) on each side. During its construction, the Eiffel Tower surpassed the Washington Monument to become the tallest man-made structure in the world, a title it held for 41 years until the Chrysler Building in New York City was finished in 1930. It was the first structure to reach a height of 300 metres. Due to the addition of a broadcasting aerial at the top of the tower in 1957, it is now taller than the Chrysler Building by 5.2 metres (17 ft). Excluding transmitters, the Eiffel Tower is the second tallest free-standing structure in France after the Millau Viaduct.","bart-large-cnn","None",False],
|
12 |
]
|
13 |
|
14 |
io1 = gr.Interface.load("huggingface/facebook/bart-large-mnli")
|