Commit
·
7cae5e1
1
Parent(s):
e31e3bf
Update app.py
Browse files
app.py
CHANGED
|
@@ -6,6 +6,6 @@ pipe = Text2TextGenerationPipeline(model = AutoModelForSeq2SeqLM.from_pretrained
|
|
| 6 |
gr.Interface.from_pipeline(pipe,
|
| 7 |
inputs = "textbox",
|
| 8 |
outputs="textbox",
|
| 9 |
-
examples = 'question: which description describes the word " java " best in the following context? descriptions: [ " A drink consisting of an infusion of ground coffee beans " , " a platform-independent programming lanugage " , or " an island in Indonesia to the south of Borneo " ] context: I like to drink "java" in the morning .'
|
| 10 |
title = "word sense disambiguation",
|
| 11 |
allow_flagging="never").launch(inbrowser=True)
|
|
|
|
| 6 |
gr.Interface.from_pipeline(pipe,
|
| 7 |
inputs = "textbox",
|
| 8 |
outputs="textbox",
|
| 9 |
+
examples = 'question: which description describes the word " java " best in the following context? descriptions: [ " A drink consisting of an infusion of ground coffee beans " , " a platform-independent programming lanugage " , or " an island in Indonesia to the south of Borneo " ] context: I like to drink "java" in the morning .',
|
| 10 |
title = "word sense disambiguation",
|
| 11 |
allow_flagging="never").launch(inbrowser=True)
|