ysharma HF staff commited on
Commit
f630054
·
1 Parent(s): 98e1057

update textbox placeholder message

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -186,9 +186,9 @@ with gr.Blocks(css="style.css") as demo:
186
  </h1>
187
  </div>
188
  <p style="margin-bottom: 10px; font-size: 94%">
189
- Hi I'm a photoshop expert bot, start by uploading your image using the upload button, and then tell me what changes you want to make to it.<br>
190
 
191
- For faster inference without waiting in the queue, you may duplicate the space and upgrade to GPU in settings <a href="https://huggingface.co/spaces/ysharma/InstructPix2Pix_Chatbot?duplicate=true"><img style="margin-top: 0em; margin-bottom: 0em" src="https://bit.ly/3gLdBN6" alt="Duplicate Space"></a>
192
 
193
  Based on <a href="https://huggingface.co/timbrooks/instruct-pix2pix" target="_blank">Diffusers implementation</a> of InstructPix2Pix.
194
  </p>
@@ -197,7 +197,7 @@ with gr.Blocks(css="style.css") as demo:
197
  chatbot = gr.Chatbot()
198
  state_in = gr.State()
199
  with gr.Row():
200
- text_in = gr.Textbox(value='', Placeholder="Type your instructions here and press Enter")
201
  btn_upload = gr.UploadButton("Upload image", file_types=["image"], file_count="single")
202
  with gr.Accordion("Advance settings for Training and Inference", open=False):
203
  image_in = gr.Image(visible=False,type='pil', label="Original Image")
 
186
  </h1>
187
  </div>
188
  <p style="margin-bottom: 10px; font-size: 94%">
189
+ Hi, I'm a photoshop expert bot, start by uploading your image using the upload button, and then tell me what changes you want to make to it.<br>
190
 
191
+ For faster inference without waiting in queue, duplicate the Space & upgrade to GPU<a href="https://huggingface.co/spaces/ysharma/InstructPix2Pix_Chatbot?duplicate=true"><img style="margin-top: 0em; margin-bottom: 0em" src="https://bit.ly/3gLdBN6" alt="Duplicate Space"></a>
192
 
193
  Based on <a href="https://huggingface.co/timbrooks/instruct-pix2pix" target="_blank">Diffusers implementation</a> of InstructPix2Pix.
194
  </p>
 
197
  chatbot = gr.Chatbot()
198
  state_in = gr.State()
199
  with gr.Row():
200
+ text_in = gr.Textbox(value='', placeholder="Type your instructions here and press Enter")
201
  btn_upload = gr.UploadButton("Upload image", file_types=["image"], file_count="single")
202
  with gr.Accordion("Advance settings for Training and Inference", open=False):
203
  image_in = gr.Image(visible=False,type='pil', label="Original Image")