Fabrice-TIERCELIN commited on
Commit
4a0ddbb
1 Parent(s): 19dae6b

Change text size

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -143,13 +143,13 @@ def pix2pix(
143
  minutes = minutes - (hours * 60)
144
  return [
145
  output_image,
146
- ("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
147
  ]
148
 
149
  with gr.Blocks() as interface:
150
- gr.Markdown(
151
  """
152
- <p style="text-align: center;"><b><big><big><big>Instruct Pix2Pix demo</big></big></big></b></p>
153
  <p style="text-align: center;">Modifies your image using a textual instruction, freely, without account, without watermark, without installation, which can be downloaded</p>
154
  <br/>
155
  <br/>
@@ -186,7 +186,7 @@ with gr.Blocks() as interface:
186
  submit = gr.Button("🚀 Modify", variant = "primary")
187
 
188
  modified_image = gr.Image(label = "Modified image")
189
- information = gr.Label(label = "Information")
190
 
191
  submit.click(fn = update_seed, inputs = [
192
  randomize_seed,
 
143
  minutes = minutes - (hours * 60)
144
  return [
145
  output_image,
146
+ ("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
147
  ]
148
 
149
  with gr.Blocks() as interface:
150
+ gr.HTML(
151
  """
152
+ <h1 style="text-align: center;">Instruct Pix2Pix demo</h1>
153
  <p style="text-align: center;">Modifies your image using a textual instruction, freely, without account, without watermark, without installation, which can be downloaded</p>
154
  <br/>
155
  <br/>
 
186
  submit = gr.Button("🚀 Modify", variant = "primary")
187
 
188
  modified_image = gr.Image(label = "Modified image")
189
+ information = gr.HTML()
190
 
191
  submit.click(fn = update_seed, inputs = [
192
  randomize_seed,