Change text size
Browse files
app.py
CHANGED
@@ -169,14 +169,14 @@ def redraw(
|
|
169 |
minutes = minutes - (hours * 60)
|
170 |
return [
|
171 |
output_image,
|
172 |
-
("Start again to get a different result. " if is_randomize_seed else "") + "The image
|
173 |
input_image
|
174 |
]
|
175 |
|
176 |
with gr.Blocks() as interface:
|
177 |
-
gr.
|
178 |
"""
|
179 |
-
<
|
180 |
<p style="text-align: center;">Modifies the global render of your image, at any resolution, freely, without account, without watermark, without installation, which can be downloaded</p>
|
181 |
<br/>
|
182 |
<br/>
|
@@ -216,7 +216,7 @@ with gr.Blocks() as interface:
|
|
216 |
submit = gr.Button("🚀 Redraw", variant = "primary")
|
217 |
|
218 |
redrawn_image = gr.Image(label = "Redrawn image")
|
219 |
-
information = gr.
|
220 |
original_image = gr.Image(label = "Original image", visible = False)
|
221 |
|
222 |
submit.click(update_seed, inputs = [
|
|
|
169 |
minutes = minutes - (hours * 60)
|
170 |
return [
|
171 |
output_image,
|
172 |
+
("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,
|
173 |
input_image
|
174 |
]
|
175 |
|
176 |
with gr.Blocks() as interface:
|
177 |
+
gr.HTML(
|
178 |
"""
|
179 |
+
<h1 style="text-align: center;">Image-to-Image</h1>
|
180 |
<p style="text-align: center;">Modifies the global render of your image, at any resolution, freely, without account, without watermark, without installation, which can be downloaded</p>
|
181 |
<br/>
|
182 |
<br/>
|
|
|
216 |
submit = gr.Button("🚀 Redraw", variant = "primary")
|
217 |
|
218 |
redrawn_image = gr.Image(label = "Redrawn image")
|
219 |
+
information = gr.HTML()
|
220 |
original_image = gr.Image(label = "Original image", visible = False)
|
221 |
|
222 |
submit.click(update_seed, inputs = [
|