Skip to content

Commit

Permalink
fix: ai 수정
Browse files Browse the repository at this point in the history
fix: ai 수정
  • Loading branch information
jeongs9203 committed Nov 29, 2023
2 parents 42888d2 + 73459c0 commit a4f6960
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/ai/Ai.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ function Ai() {
console.log('formData: ', formData.get('img'))
try {

const res = await fetch(`https://gentledogai.duckdns.org/image_predict`, {
const res = await fetch(`https://gentledog-ai-new.duckdns.org/image_predict`, {
method: 'POST',
body: formData,
});
Expand All @@ -46,7 +46,7 @@ function Ai() {
'Content-Type': 'application/json',
},
body: JSON.stringify({
dogIds: dogId.result
dogIds: 2
}),
});
const productId = await res.json();
Expand Down

0 comments on commit a4f6960

Please sign in to comment.