Commit 674b6804 authored by chenpangpang's avatar chenpangpang
Browse files

feat: 更新说明;run.sh重命名为start.sh;修改

parent 90f3ea5b
...@@ -14,4 +14,4 @@ COPY chenyh/tile-upscaler/frpc_linux_amd64_v0.2 /opt/conda/lib/python3.10/site-p ...@@ -14,4 +14,4 @@ COPY chenyh/tile-upscaler/frpc_linux_amd64_v0.2 /opt/conda/lib/python3.10/site-p
RUN chmod +x /opt/conda/lib/python3.10/site-packages/gradio/frpc_linux_amd64_v0.2 RUN chmod +x /opt/conda/lib/python3.10/site-packages/gradio/frpc_linux_amd64_v0.2
COPY --from=base /opt/conda/lib/python3.10/site-packages /opt/conda/lib/python3.10/site-packages COPY --from=base /opt/conda/lib/python3.10/site-packages /opt/conda/lib/python3.10/site-packages
COPY --from=base /root/tile-upscaler/Tile-Upscaler /root/Tile-Upscaler COPY --from=base /root/tile-upscaler/Tile-Upscaler /root/Tile-Upscaler
COPY --from=base /root/tile-upscaler/启动器.ipynb /root/tile-upscaler/run.sh /root/ COPY --from=base /root/tile-upscaler/启动器.ipynb /root/tile-upscaler/start.sh /root/
...@@ -8,14 +8,17 @@ ...@@ -8,14 +8,17 @@
}, },
"source": [ "source": [
"## 说明\n", "## 说明\n",
"\n", "- 启动需要加载模型,需要3分钟左右的时间\n",
"- 启动和重启 Notebook 点上方工具栏中的「重启并运行所有单元格」。出现 `http://0.0.0.0:7860` 这个字样就成功了。可以通过以下任意方式开启页面:\n", "- 启动和重启 Notebook 点上方工具栏中的「重启并运行所有单元格」。出现如下内容就算成功了:\n",
" - `Running on local URL: http://0.0.0.0:7860`\n",
" - `Running on public URL: https://xxxxxxxxxxxxxxx.gradio.live`\n",
"- 通过以下方式开启页面:\n",
" - 控制台打开「自定义服务」了,访问自定义服务端口号设置为7860\n", " - 控制台打开「自定义服务」了,访问自定义服务端口号设置为7860\n",
" - 直接打开显示的公开链接`public URL`\n", " - 直接打开显示的公开链接`public URL`\n",
"\n", "\n",
"## 功能介绍\n", "## 功能介绍\n",
"- 原项目地址:https://github.com/ai-forever/Real-ESRGAN\n", "- 原项目地址:https://github.com/ai-forever/Real-ESRGAN\n",
"- InstantID:由低质量图片生成高质量图片的图片修复工具" "- tile-upscaler:由低质量图片生成高质量图片的图片修复工具"
] ]
}, },
{ {
...@@ -23,32 +26,13 @@ ...@@ -23,32 +26,13 @@
"execution_count": null, "execution_count": null,
"id": "53a96614-e2d2-4710-a82b-0d5ca9cb9872", "id": "53a96614-e2d2-4710-a82b-0d5ca9cb9872",
"metadata": { "metadata": {
"tags": [] "tags": [],
"is_executing": true
}, },
"outputs": [ "outputs": [],
{
"name": "stdout",
"output_type": "stream",
"text": [
"/opt/conda/envs/kolors/lib/python3.8/site-packages/gradio_client/documentation.py:105: UserWarning: Could not get documentation group for <class 'gradio.mix.Parallel'>: No known documentation group for module 'gradio.mix'\n",
" warnings.warn(f\"Could not get documentation group for {cls}: {exc}\")\n",
"/opt/conda/envs/kolors/lib/python3.8/site-packages/gradio_client/documentation.py:105: UserWarning: Could not get documentation group for <class 'gradio.mix.Series'>: No known documentation group for module 'gradio.mix'\n",
" warnings.warn(f\"Could not get documentation group for {cls}: {exc}\")\n",
"/opt/conda/envs/kolors/lib/python3.8/site-packages/diffusers/models/transformers/transformer_2d.py:34: FutureWarning: `Transformer2DModelOutput` is deprecated and will be removed in version 1.0.0. Importing `Transformer2DModelOutput` from `diffusers.models.transformer_2d` is deprecated and this will be removed in a future version. Please use `from diffusers.models.modeling_outputs import Transformer2DModelOutput`, instead.\n",
" deprecate(\"Transformer2DModelOutput\", \"1.0.0\", deprecation_message)\n",
"Loading checkpoint shards: 100%|██████████████████| 7/7 [00:16<00:00, 2.35s/it]\n",
"Running on local URL: http://0.0.0.0:7860\n",
"\n",
"To create a public link, set `share=True` in `launch()`.\n",
"IMPORTANT: You are using gradio version 3.38.0, however version 4.29.0 is available, please upgrade.\n",
"--------\n",
"100%|███████████████████████████████████████████| 50/50 [00:26<00:00, 1.90it/s]\n"
]
}
],
"source": [ "source": [
"# 启动\n", "# 启动\n",
"!bash run.sh" "!sh start.sh"
] ]
}, },
{ {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment