ysharma HF staff commited on
Commit
6ab5788
·
1 Parent(s): 19f5b6b

update layout

Browse files
Files changed (1) hide show
  1. app.py +5 -0
app.py CHANGED
@@ -40,6 +40,11 @@ def chat(image_in, message, history, progress=gr.Progress(track_tqdm=True)):
40
  return history, history
41
 
42
  with gr.Blocks() as demo:
 
 
 
 
 
43
  with gr.Row():
44
  with gr.Column():
45
  image_in = gr.Image(type='pil', label="Original Image")
 
40
  return history, history
41
 
42
  with gr.Blocks() as demo:
43
+ gr.HTML("""<h1 style="font-weight: 900; margin-bottom: 7px;"> InstructPix2Pix: Learning to Follow Image Editing Instructions </h1>
44
+ <p>For faster inference without waiting in queue, you may duplicate the space and upgrade to GPU in settings.<br/>
45
+ <a href="https://huggingface.co/spaces/ysharma/InstructPix2Pix_Chatbot?duplicate=true">
46
+ <img style="margin-top: 0em; margin-bottom: 0em" src="https://bit.ly/3gLdBN6" alt="Duplicate Space"></a>
47
+ <p/>""")
48
  with gr.Row():
49
  with gr.Column():
50
  image_in = gr.Image(type='pil', label="Original Image")