Skip to content

Commit 47cc36d

Browse files
committed
#75 Refactor: img2img 함수 수정
1 parent af16a52 commit 47cc36d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/example/service/ImageServiceImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public String generateImageToImage(String prompt, String imageURL, boolean seed)
6161

6262
String url = "https://d43d-124-55-57-87.ngrok-free.app//modify-image"; // FastAPI 서버의 URL
6363

64-
String requestBody = "{\"prompt\": \"" + prompt + "\", \"imageURL\": " + imageURL + "\", \"seed\": " + seed + "}";
64+
String requestBody = "{\"prompt\": \"" + prompt + "\", \"imageURL\": " + imageURL + ", \"seed\": " + seed + "}";
6565

6666
HttpEntity<String> requestEntity = new HttpEntity<>(requestBody, headers);
6767

0 commit comments

Comments
 (0)