Update app.py
Browse files
app.py
CHANGED
@@ -250,6 +250,7 @@ def predict(im):
|
|
250 |
return im["layers"][0]
|
251 |
|
252 |
block = gr.Blocks(theme=gr.themes.Soft()).queue()
|
|
|
253 |
with block:
|
254 |
gr.Markdown(DESCRIPTION)
|
255 |
with gr.Row():
|
@@ -271,7 +272,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")
|
|
|
250 |
return im["layers"][0]
|
251 |
|
252 |
block = gr.Blocks(theme=gr.themes.Soft()).queue()
|
253 |
+
with gr.Interface(css=".gradio-container {background-color: white}") as block:
|
254 |
with block:
|
255 |
gr.Markdown(DESCRIPTION)
|
256 |
with gr.Row():
|
|
|
272 |
|
273 |
gr.Markdown("<hr>")
|
274 |
with gr.Row():
|
275 |
+
gr.Markdown("## Inpaint \n<p>画像はツールのアップロードを押してアップロードして下さい。")
|
276 |
with gr.Row():
|
277 |
with gr.Column():
|
278 |
input_image = gr.ImageMask(sources="upload", type="numpy", height="auto")
|