Update Home.py
Browse files
Home.py
CHANGED
|
@@ -589,31 +589,3 @@ if image:
|
|
| 589 |
|
| 590 |
st.markdown("<style>\n" + css + "</style>", unsafe_allow_html=True)
|
| 591 |
|
| 592 |
-
st.markdown(
|
| 593 |
-
"""
|
| 594 |
-
--------------------
|
| 595 |
-
### User Manual
|
| 596 |
-
|
| 597 |
-
- **Step 1.** Upload an image here
|
| 598 |
-
""")
|
| 599 |
-
|
| 600 |
-
st.image("figures/upload_image.png")
|
| 601 |
-
|
| 602 |
-
st.markdown(
|
| 603 |
-
"""
|
| 604 |
-
- **Step 2.** (Optional) You can draw bounding boxes on the image. Each box you draw creates a corresponding button of the same color.
|
| 605 |
-
""")
|
| 606 |
-
|
| 607 |
-
st.image("figures/bbox.png", width=512)
|
| 608 |
-
|
| 609 |
-
st.markdown(
|
| 610 |
-
"""
|
| 611 |
-
- **Step 3.** Ask questions. Insert region tokens in the question by clicking on the `Region-i` button. For example:
|
| 612 |
-
|
| 613 |
-
> What color is the dog in [REGION-0]?
|
| 614 |
-
|
| 615 |
-
> What is the relationship between the dog in [REGION-0] and the dog in [REGION-1]?
|
| 616 |
-
|
| 617 |
-
**Note**: This demo is in its experimental stage, and we are actively working on improvements.
|
| 618 |
-
|
| 619 |
-
""")
|
|
|
|
| 589 |
|
| 590 |
st.markdown("<style>\n" + css + "</style>", unsafe_allow_html=True)
|
| 591 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|