Spaces:
Runtime error
Runtime error
changed examples
Browse files
app.py
CHANGED
|
@@ -35,12 +35,12 @@ When faced with a query, the semantically most similar document is retrieved.
|
|
| 35 |
A text and a table language model ("Deberta-large" and "Tapas" here) extract the answers to the original question from the respective document and return them to the interface
|
| 36 |
'''
|
| 37 |
|
| 38 |
-
examples = ["When is the add/dropp period?", "What does it mean if instructor consent is required?", "Where is the english preparatory unit located?"]
|
| 39 |
-
|
| 40 |
-
|
| 41 |
-
|
| 42 |
-
|
| 43 |
-
|
| 44 |
|
| 45 |
label = gr.outputs.Label(num_top_classes=3)
|
| 46 |
|
|
|
|
| 35 |
A text and a table language model ("Deberta-large" and "Tapas" here) extract the answers to the original question from the respective document and return them to the interface
|
| 36 |
'''
|
| 37 |
|
| 38 |
+
#examples = ["When is the add/dropp period?", "What does it mean if instructor consent is required?", "Where is the english preparatory unit located?"]
|
| 39 |
+
examples = [
|
| 40 |
+
["When is the add/dropp period?",""],
|
| 41 |
+
["What does it mean if instructor consent is required?",""],
|
| 42 |
+
["Where is the english preparatory unit located?",""],
|
| 43 |
+
]
|
| 44 |
|
| 45 |
label = gr.outputs.Label(num_top_classes=3)
|
| 46 |
|