Spaces:
Running
Running
Fabrice-TIERCELIN
commited on
Commit
•
6f86bde
1
Parent(s):
951586f
Change text size
Browse files
app.py
CHANGED
@@ -180,13 +180,13 @@ def inpaint(
|
|
180 |
minutes = minutes - (hours * 60)
|
181 |
return [
|
182 |
output_image,
|
183 |
-
("Start again to get a different result. " if is_randomize_seed else "") + "The image
|
184 |
input_image,
|
185 |
mask_image
|
186 |
]
|
187 |
|
188 |
with gr.Blocks() as interface:
|
189 |
-
gr.
|
190 |
"""
|
191 |
<h1 style="text-align: center;">Inpaint</h1>
|
192 |
<p style="text-align: center;">Modifies one detail of your image, at any resolution, freely, without account, without watermark, without installation, which can be downloaded</p>
|
@@ -230,7 +230,7 @@ with gr.Blocks() as interface:
|
|
230 |
submit = gr.Button("🚀 Inpaint", variant = "primary")
|
231 |
|
232 |
inpainted_image = gr.Image(label = "Inpainted image")
|
233 |
-
information = gr.
|
234 |
original_image = gr.Image(label = "Original image", visible = False)
|
235 |
mask_image = gr.Image(label = "Mask image", visible = False)
|
236 |
|
|
|
180 |
minutes = minutes - (hours * 60)
|
181 |
return [
|
182 |
output_image,
|
183 |
+
("Start again to get a different result. " if is_randomize_seed else "") + "The image has been generated in " + ((str(hours) + " h, ") if hours != 0 else "") + ((str(minutes) + " min, ") if hours != 0 or minutes != 0 else "") + str(secondes) + " sec." + limitation,
|
184 |
input_image,
|
185 |
mask_image
|
186 |
]
|
187 |
|
188 |
with gr.Blocks() as interface:
|
189 |
+
gr.HTML(
|
190 |
"""
|
191 |
<h1 style="text-align: center;">Inpaint</h1>
|
192 |
<p style="text-align: center;">Modifies one detail of your image, at any resolution, freely, without account, without watermark, without installation, which can be downloaded</p>
|
|
|
230 |
submit = gr.Button("🚀 Inpaint", variant = "primary")
|
231 |
|
232 |
inpainted_image = gr.Image(label = "Inpainted image")
|
233 |
+
information = gr.HTML()
|
234 |
original_image = gr.Image(label = "Original image", visible = False)
|
235 |
mask_image = gr.Image(label = "Mask image", visible = False)
|
236 |
|