Update app.py
Browse files
app.py
CHANGED
|
@@ -16,7 +16,6 @@ if st.button('Run keyword match'):
|
|
| 16 |
headers = {'Content-Type': 'application/json'}
|
| 17 |
response = requests.request("GET", url, headers=headers, data=payload)
|
| 18 |
kws_result = response.json() # print(response.text)
|
| 19 |
-
# qa_result = pipe_exqa(question=question, context=paragraph)
|
| 20 |
|
| 21 |
except Exception as e:
|
| 22 |
qa_result = str(e)
|
|
@@ -45,7 +44,6 @@ if st.button('Run keyword search'):
|
|
| 45 |
headers = {'Content-Type': 'application/json'}
|
| 46 |
response = requests.request("GET", url, headers=headers, data=payload)
|
| 47 |
kws_result = response.json() # print(response.text)
|
| 48 |
-
# qa_result = pipe_exqa(question=question, context=paragraph)
|
| 49 |
|
| 50 |
except Exception as e:
|
| 51 |
qa_result = str(e)
|
|
|
|
| 16 |
headers = {'Content-Type': 'application/json'}
|
| 17 |
response = requests.request("GET", url, headers=headers, data=payload)
|
| 18 |
kws_result = response.json() # print(response.text)
|
|
|
|
| 19 |
|
| 20 |
except Exception as e:
|
| 21 |
qa_result = str(e)
|
|
|
|
| 44 |
headers = {'Content-Type': 'application/json'}
|
| 45 |
response = requests.request("GET", url, headers=headers, data=payload)
|
| 46 |
kws_result = response.json() # print(response.text)
|
|
|
|
| 47 |
|
| 48 |
except Exception as e:
|
| 49 |
qa_result = str(e)
|