save code
This commit is contained in:
+3
-3
@@ -92,12 +92,12 @@
|
||||
<div class="form-group">
|
||||
<label for="clothImgUrl">服装图片URL:</label>
|
||||
<input type="text" id="clothImgUrl" name="cloth_img"
|
||||
value="http://112.126.94.241:18888/static/imgs/cloth_20250713_092536_279335d2.jpg"
|
||||
value="http://117.50.44.174:18888/static/imgs/cloth_20250713_092536_279335d2.jpg"
|
||||
placeholder="输入服装图片的URL" required>
|
||||
<div class="preview">
|
||||
<div class="preview-item">
|
||||
<span>URL图片预览:</span>
|
||||
<img id="urlPreview" src="http://112.126.94.241:18888/static/imgs/cloth_20250713_092536_279335d2.jpg"
|
||||
<img id="urlPreview" src="http://117.50.44.174:18888/static/imgs/cloth_20250713_092536_279335d2.jpg"
|
||||
alt="URL图片预览" onerror="this.style.display='none'">
|
||||
</div>
|
||||
</div>
|
||||
@@ -149,7 +149,7 @@
|
||||
statusDiv.className = "";
|
||||
|
||||
const formData = new FormData(this);
|
||||
const apiUrl = "http://47.94.244.112:19001/process-image";
|
||||
const apiUrl = "http://117.50.44.174:19001/process-image";
|
||||
|
||||
fetch(apiUrl, {
|
||||
method: 'POST',
|
||||
|
||||
Reference in New Issue
Block a user