Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -12,7 +12,7 @@ def main():
|
|
12 |
# clicked==True only when the button is clicked
|
13 |
clicked = st.form_submit_button("Submit")
|
14 |
if clicked:
|
15 |
-
results = qa(question , context)
|
16 |
st.json(results)
|
17 |
|
18 |
if __name__ == "__main__":
|
|
|
12 |
# clicked==True only when the button is clicked
|
13 |
clicked = st.form_submit_button("Submit")
|
14 |
if clicked:
|
15 |
+
results = qa(question = question, context = context)
|
16 |
st.json(results)
|
17 |
|
18 |
if __name__ == "__main__":
|