emvecchi commited on
Commit
38b8c1c
·
verified ·
1 Parent(s): 4b568ea

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -230,10 +230,10 @@ def get_path():
230
 
231
  def display_dialogue(hf_path: str):
232
  txt = load_text(hf_path)
233
- st.code(txt, language="markdown", line_numbers=True)
234
- #st.markdown(
235
- # f"<details><summary><b>Annotation Guidelines</b></summary><div>{dialogue_text}</div></details><br>",
236
- #unsafe_allow_html=True)
237
 
238
  def display_image(image_path):
239
  with hf_fs.open(image_path) as f:
 
230
 
231
  def display_dialogue(hf_path: str):
232
  txt = load_text(hf_path)
233
+ #st.code(txt, language="markdown", line_numbers=True)
234
+ st.markdown(
235
+ f"<details><summary><b>Herr Laus</b></summary><div>{txt}</div></details><br>",
236
+ unsafe_allow_html=True)
237
 
238
  def display_image(image_path):
239
  with hf_fs.open(image_path) as f: