Skip to content

Commit 18f63cf

Browse files
author
lxfater
committedJan 25, 2024
解决国内无法下载问题
1 parent 5210c4f commit 18f63cf

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed
 

‎messages/en.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"$schema": "https://inlang.com/schema/inlang-message-format",
33
"drop_zone": "Click or drag here",
44
"try_it_images": "Try it:",
5-
"feedback": "Feedback",
5+
"feedback": "About me",
66
"start_new": "Start new",
77
"bruch_size": "Brush Size",
88
"original": "Original",

‎messages/zh.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"$schema": "https://inlang.com/schema/inlang-message-format",
33
"drop_zone": "点击 或者 拖拽到这里",
44
"try_it_images": "试一试:",
5-
"feedback": "反馈",
5+
"feedback": "联系作者",
66
"start_new": "开始新的",
77
"bruch_size": "刷子大小",
88
"original": "原图",

‎src/App.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ function App() {
113113
<div className="flex flex-col sm:flex-row pt-10 items-center justify-center cursor-pointer">
114114
<span className="text-gray-500">{m.try_it_images()}</span>
115115
<div className="flex space-x-2 sm:space-x-4 px-4">
116-
{['dog', 'car', 'bird', 'bag', 'jacket', 'shoe', 'paris'].map(
116+
{['bag', 'dog', 'car', 'bird', 'jacket', 'shoe', 'paris'].map(
117117
image => (
118118
<div
119119
key={image}

‎src/adapters/cache.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ function getModel(modelType: modelType) {
2727
name: 'migan-pipeline-v2',
2828
url: 'https://huggingface.co/andraniksargsyan/migan/resolve/main/migan_pipeline_v2.onnx',
2929
backupUrl:
30-
'https://modelscope.cn/api/v1/models/lxfater/inpaint-web/repo?Revision=master&FilePath=migan_pipeline_v2.onnx',
30+
'https://worker-share-proxy-01f5.lxfater.workers.dev/andraniksargsyan/migan/resolve/main/migan_pipeline_v2.onnx',
3131
},
3232
]
3333
const currentModel = modelList[2]
@@ -39,7 +39,7 @@ function getModel(modelType: modelType) {
3939
name: 'realesrgan-x4',
4040
url: 'https://huggingface.co/lxfater/inpaint-web/resolve/main/realesrgan-x4.onnx',
4141
backupUrl:
42-
'https://modelscope.cn/api/v1/models/lxfater/inpaint-web/repo?Revision=master&FilePath=realesrgan-x4.onnx',
42+
'https://worker-share-proxy-01f5.lxfater.workers.dev/lxfater/inpaint-web/resolve/main/realesrgan-x4.onnx',
4343
},
4444
]
4545
const currentModel = modelList[0]

0 commit comments

Comments
 (0)
Please sign in to comment.