Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -231,9 +231,10 @@ def get_path():
|
|
| 231 |
|
| 232 |
def display_dialogue(dialogue_path):
|
| 233 |
dialogue_text = load_text(dialogue_path)
|
| 234 |
-
st.markdown
|
| 235 |
-
|
| 236 |
-
|
|
|
|
| 237 |
|
| 238 |
def display_image(image_path):
|
| 239 |
with hf_fs.open(image_path) as f:
|
|
|
|
| 231 |
|
| 232 |
def display_dialogue(dialogue_path):
|
| 233 |
dialogue_text = load_text(dialogue_path)
|
| 234 |
+
st.code(dialogue_text, language="markdown", line_numbers=True)
|
| 235 |
+
#st.markdown(
|
| 236 |
+
# f"<details><summary><b>Annotation Guidelines</b></summary><div>{dialogue_text}</div></details><br>",
|
| 237 |
+
#unsafe_allow_html=True)
|
| 238 |
|
| 239 |
def display_image(image_path):
|
| 240 |
with hf_fs.open(image_path) as f:
|