Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -58,7 +58,7 @@ def answers_generator(question):
|
|
58 |
selected_quesion=["[CLS]", "what" , "is" , "explain" ,"[SEP]","?",".","where",
|
59 |
"how","when","which","who","whom","whose","whether","why","give","provide","describe","are", "was", "were", "been", "being",
|
60 |
"have", "has", "had", "having","do", "does", "did","can", "could", "shall", "should", "will",
|
61 |
-
"would", "may", "might", "must", "dare", "need", "used to", "ought to"]
|
62 |
result_token=[]
|
63 |
decoded_tokens=[]
|
64 |
for tokens in question_tokens:
|
|
|
58 |
selected_quesion=["[CLS]", "what" , "is" , "explain" ,"[SEP]","?",".","where",
|
59 |
"how","when","which","who","whom","whose","whether","why","give","provide","describe","are", "was", "were", "been", "being",
|
60 |
"have", "has", "had", "having","do", "does", "did","can", "could", "shall", "should", "will",
|
61 |
+
"would", "may", "might", "must", "dare", "need", "used to", "ought to","a","an","the"]
|
62 |
result_token=[]
|
63 |
decoded_tokens=[]
|
64 |
for tokens in question_tokens:
|