Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -32,7 +32,7 @@ def query(doc, labels):
|
|
32 |
result={}
|
33 |
for question in questions:
|
34 |
QA_input = {
|
35 |
-
'question': question,
|
36 |
'context': doc
|
37 |
}
|
38 |
|
@@ -103,6 +103,6 @@ gr.Interface(
|
|
103 |
description=description,
|
104 |
article=article,
|
105 |
css=css,
|
106 |
-
examples=[['giaytiepnhan.jpg',['vi'],'NgΖ°α»i nα»p, TiαΊΏp nhαΊn hα» sΖ‘ của'],['giaytiepnhan2.jpg',['vi'],'
|
107 |
enable_queue=True
|
108 |
).launch(debug=True)
|
|
|
32 |
result={}
|
33 |
for question in questions:
|
34 |
QA_input = {
|
35 |
+
'question': question+'?',
|
36 |
'context': doc
|
37 |
}
|
38 |
|
|
|
103 |
description=description,
|
104 |
article=article,
|
105 |
css=css,
|
106 |
+
examples=[['giaytiepnhan.jpg',['vi'],'NgΖ°α»i nα»p, TiαΊΏp nhαΊn hα» sΖ‘ của'],['giaytiepnhan2.jpg',['vi'],'MΓ£ hα» sΖ‘, Δα»a chα»']],
|
107 |
enable_queue=True
|
108 |
).launch(debug=True)
|