Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -369,7 +369,9 @@ def show_field(f: Field, index: int, data_collected):
|
|
| 369 |
content = load_text(md_path)
|
| 370 |
st.markdown(content, unsafe_allow_html=True)
|
| 371 |
elif f.other_params and f.other_params.get("instruction_content"):
|
| 372 |
-
|
|
|
|
|
|
|
| 373 |
else:
|
| 374 |
path = f.other_params.get("path") if f.other_params else None
|
| 375 |
if path:
|
|
|
|
| 369 |
content = load_text(md_path)
|
| 370 |
st.markdown(content, unsafe_allow_html=True)
|
| 371 |
elif f.other_params and f.other_params.get("instruction_content"):
|
| 372 |
+
content = f.other_params.get("content", "")
|
| 373 |
+
if content:
|
| 374 |
+
st.markdown(content, unsafe_allow_html=True)
|
| 375 |
else:
|
| 376 |
path = f.other_params.get("path") if f.other_params else None
|
| 377 |
if path:
|