Fabrice-TIERCELIN commited on
Commit
8f80e47
·
verified ·
1 Parent(s): 5e1f5dd

Change text size

Browse files
Files changed (1) hide show
  1. app.py +4 -4
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 have 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.Markdown(
178
  """
179
- <p style="text-align: center;"><b><big><big><big>Image-to-Image</big></big></big></b></p>
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.Label(label = "Information")
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 = [