Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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 |
-
|
| 235 |
-
|
| 236 |
-
|
| 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:
|