Spaces:
Running
Running
Upload folder using huggingface_hub
Browse files- frontend/court/court.js +3 -3
frontend/court/court.js
CHANGED
|
@@ -278,7 +278,7 @@ async function submitArgument() {
|
|
| 278 |
headers: { 'Content-Type': 'application/json' },
|
| 279 |
body: JSON.stringify({
|
| 280 |
session_id: state.currentSession,
|
| 281 |
-
|
| 282 |
})
|
| 283 |
});
|
| 284 |
|
|
@@ -410,8 +410,8 @@ async function submitDocumentRequest() {
|
|
| 410 |
headers: { 'Content-Type': 'application/json' },
|
| 411 |
body: JSON.stringify({
|
| 412 |
session_id: state.currentSession,
|
| 413 |
-
|
| 414 |
-
|
| 415 |
})
|
| 416 |
});
|
| 417 |
|
|
|
|
| 278 |
headers: { 'Content-Type': 'application/json' },
|
| 279 |
body: JSON.stringify({
|
| 280 |
session_id: state.currentSession,
|
| 281 |
+
argument: argument
|
| 282 |
})
|
| 283 |
});
|
| 284 |
|
|
|
|
| 410 |
headers: { 'Content-Type': 'application/json' },
|
| 411 |
body: JSON.stringify({
|
| 412 |
session_id: state.currentSession,
|
| 413 |
+
doc_type: docType,
|
| 414 |
+
for_side: docSide
|
| 415 |
})
|
| 416 |
});
|
| 417 |
|