Spaces:
Runtime error
Runtime error
add instruction for chatbot
Browse files
app.py
CHANGED
|
@@ -386,6 +386,19 @@ class ChatBotUI(object):
|
|
| 386 |
label='Video Seed',
|
| 387 |
visible=True)
|
| 388 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 389 |
with gr.Row(variant='panel',
|
| 390 |
equal_height=True,
|
| 391 |
show_progress=False):
|
|
|
|
| 386 |
label='Video Seed',
|
| 387 |
visible=True)
|
| 388 |
|
| 389 |
+
with gr.Row():
|
| 390 |
+
inst = """
|
| 391 |
+
**Instruction**:
|
| 392 |
+
|
| 393 |
+
1. Click 'Upload' button to upload one or more images as input images.
|
| 394 |
+
2. Enter '@' in the text box will exhibit all images in the gallery.
|
| 395 |
+
3. Click on the edit image in the gallery, and its Image ID will be displayed in the text box.
|
| 396 |
+
4. Compose the editing instruction for the selected image, incorporating image id '@xxxxxx' into your instruction, for example, 'make the girl in @123456 wear blue skirt'
|
| 397 |
+
5. Click the "Chat" button to enjoy the edited result in the chat window!
|
| 398 |
+
|
| 399 |
+
"""
|
| 400 |
+
gr.Markdown(value=inst)
|
| 401 |
+
|
| 402 |
with gr.Row(variant='panel',
|
| 403 |
equal_height=True,
|
| 404 |
show_progress=False):
|