Spaces:
Runtime error
Runtime error
Ahsen Khaliq
commited on
Commit
·
a92dee1
1
Parent(s):
655de79
Update app.py
Browse files
app.py
CHANGED
@@ -7,7 +7,7 @@ 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!!","urgent, not urgent, phone, tablet, computer",
|
11 |
]
|
12 |
|
13 |
gr.Interface.load("huggingface/facebook/bart-large-mnli",title=title,description=description,article=article, examples=examples).launch(enable_queue=True)
|
|
|
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!!","urgent, not urgent, phone, tablet, computer",True]
|
11 |
]
|
12 |
|
13 |
gr.Interface.load("huggingface/facebook/bart-large-mnli",title=title,description=description,article=article, examples=examples).launch(enable_queue=True)
|