Update app.py
Browse files
app.py
CHANGED
@@ -8,7 +8,7 @@ DESCRIPTION = '# ControlNet v1.1 Annotators (that runs on cpu only)'
|
|
8 |
DESCRIPTION += '\n<p>This app generates Control Image for Mochi Diffusion's ControlNet.</p>'
|
9 |
DESCRIPTION += '\n<p>HEIC image is not converted. Please use PNG or JPG image.</p>'
|
10 |
DESCRIPTION += '\n<p>Gradioのバージョンが上がって変換される画像がWebpになっています。最新のMochiDiffusionでは問題なく使えるようです。</p>'
|
11 |
-
DESCRIPTION += '\n<p>Safari
|
12 |
#DESCRIPTION += '\n<p>The version of Gradio has been upgraded and the converted images are now Webp. It seems to be usable with the latest MochiDiffusion without any problems.</p>'
|
13 |
#DESCRIPTION += '\n<p>If you are using Safari, you cannot upload images by drag and drop, so please use the upload button.</p>'
|
14 |
|
@@ -271,7 +271,7 @@ with block:
|
|
271 |
|
272 |
gr.Markdown("<hr>")
|
273 |
with gr.Row():
|
274 |
-
gr.Markdown("## Inpaint \n<p
|
275 |
with gr.Row():
|
276 |
with gr.Column():
|
277 |
input_image = gr.ImageMask(sources="upload", type="numpy", height="auto")
|
|
|
8 |
DESCRIPTION += '\n<p>This app generates Control Image for Mochi Diffusion's ControlNet.</p>'
|
9 |
DESCRIPTION += '\n<p>HEIC image is not converted. Please use PNG or JPG image.</p>'
|
10 |
DESCRIPTION += '\n<p>Gradioのバージョンが上がって変換される画像がWebpになっています。最新のMochiDiffusionでは問題なく使えるようです。</p>'
|
11 |
+
DESCRIPTION += '\n<p>Safariは、ドラッグ&ドロップで画像をアップロードすることができませんので、クリックしてアップロードをご利用ください。</p>'
|
12 |
#DESCRIPTION += '\n<p>The version of Gradio has been upgraded and the converted images are now Webp. It seems to be usable with the latest MochiDiffusion without any problems.</p>'
|
13 |
#DESCRIPTION += '\n<p>If you are using Safari, you cannot upload images by drag and drop, so please use the upload button.</p>'
|
14 |
|
|
|
271 |
|
272 |
gr.Markdown("<hr>")
|
273 |
with gr.Row():
|
274 |
+
gr.Markdown("## Inpaint \n<p>画像はツールのアイコンを押してアップロードして下さい。(Mochi Diffusion v4.1以降で使えるようになりました。)")
|
275 |
with gr.Row():
|
276 |
with gr.Column():
|
277 |
input_image = gr.ImageMask(sources="upload", type="numpy", height="auto")
|