update textbox placeholder message
Browse files
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
|
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='',
|
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")
|