Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/mlcommons/dynabench into Fe…
Browse files Browse the repository at this point in the history
…ature/SelectTextMultipleTags-Component
  • Loading branch information
shincap8 committed Aug 15, 2024
2 parents 365f6ad + 40f2b0e commit a1c3cc5
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ const SelectMultipleTextMultipleTags: FC<
setLoading2(true);
setSelectionInfo([]);
fetch(
`${process.env.REACT_APP_API_HOST_2}/context/get_random_context_from_key_value/`,
`${process.env.REACT_APP_API_HOST_2}/context/get_random_context_from_key_value`,
{
method: "POST",
headers: {
Expand Down Expand Up @@ -158,7 +158,7 @@ const SelectMultipleTextMultipleTags: FC<
const newSelectionInfo = cleanUpSelection(selectionInfo, "color");
const sendText = text;
setText(undefined);
await post("/example/create_example/", {
await post("/example/create_example", {
context_id: contextId,
user_id: userId,
input_json: { labels: newSelectionInfo, ...extraLabel },
Expand Down

0 comments on commit a1c3cc5

Please sign in to comment.