Spaces:
Runtime error
Runtime error
Add missing
Browse files- react-qa/src/App.js +1 -1
react-qa/src/App.js
CHANGED
@@ -9,7 +9,7 @@ function App() {
|
|
9 |
const [context,set_context] = useState("My name is Clara and I live in Berkeley.")
|
10 |
|
11 |
let request_qa_data = () => {
|
12 |
-
axios.post('
|
13 |
question,
|
14 |
context
|
15 |
})
|
|
|
9 |
const [context,set_context] = useState("My name is Clara and I live in Berkeley.")
|
10 |
|
11 |
let request_qa_data = () => {
|
12 |
+
axios.post('/question-answer',{
|
13 |
question,
|
14 |
context
|
15 |
})
|