Spaces:
Sleeping
Sleeping
add text for empty dataset
Browse files
app.py
CHANGED
|
@@ -78,4 +78,6 @@ if max_docs > 0:
|
|
| 78 |
st.code(example["content"], language=chosen_language)
|
| 79 |
else:
|
| 80 |
st.text(f"File can't be lexed so we remove syntax highlighting.\nContent:\n")
|
| 81 |
-
st.text(str(example["content"]))
|
|
|
|
|
|
|
|
|
| 78 |
st.code(example["content"], language=chosen_language)
|
| 79 |
else:
|
| 80 |
st.text(f"File can't be lexed so we remove syntax highlighting.\nContent:\n")
|
| 81 |
+
st.text(str(example["content"]))
|
| 82 |
+
else:
|
| 83 |
+
st.text("The dataset is empty after the filtering!")
|