timbrooks akhaliq HF staff commited on
Commit
868bbe7
1 Parent(s): bd9110a

add duplicate spaces badge (#3)

Browse files

- add duplicate spaces badge (2eaf826f730993c3b56a2c62cd2b472d19a48a8d)


Co-authored-by: Ahsen Khaliq <[email protected]>

Files changed (1) hide show
  1. edit_app.py +8 -0
edit_app.py CHANGED
@@ -106,6 +106,14 @@ def main():
106
  return [0, "Randomize Seed", 1371, "Fix CFG", 7.5, 1.5, None]
107
 
108
  with gr.Blocks() as demo:
 
 
 
 
 
 
 
 
109
  with gr.Row():
110
  with gr.Column(scale=1, min_width=100):
111
  generate_button = gr.Button("Generate")
 
106
  return [0, "Randomize Seed", 1371, "Fix CFG", 7.5, 1.5, None]
107
 
108
  with gr.Blocks() as demo:
109
+ gr.HTML("""<h1 style="font-weight: 900; margin-bottom: 7px;">
110
+ InstructPix2Pix: Learning to Follow Image Editing Instructions
111
+ </h1>
112
+ <p>For faster inference without waiting in queue, you may duplicate the space and upgrade to GPU in settings.
113
+ <br/>
114
+ <a href="https://huggingface.co/spaces/timbrooks/instruct-pix2pix?duplicate=true">
115
+ <img style="margin-top: 0em; margin-bottom: 0em" src="https://bit.ly/3gLdBN6" alt="Duplicate Space"></a>
116
+ <p/>""")
117
  with gr.Row():
118
  with gr.Column(scale=1, min_width=100):
119
  generate_button = gr.Button("Generate")