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

update textbox properties

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -186,7 +186,7 @@ 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.
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
 
@@ -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='', Plaseholder="Enter your instructions here")
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 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
 
 
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")