Anon
commited on
Commit
·
f90485e
1
Parent(s):
06f8baf
update app.
Browse files- src/streamlit_app.py +2 -0
src/streamlit_app.py
CHANGED
|
@@ -44,6 +44,8 @@ st.set_page_config(layout="wide")
|
|
| 44 |
# ----------------------------
|
| 45 |
st.header("GIF Browser")
|
| 46 |
|
|
|
|
|
|
|
| 47 |
# streamlit_app.py is under src/, and hf_gifs is a sibling of src/
|
| 48 |
SRC_DIR = Path(__file__).resolve().parent
|
| 49 |
GIF_DIR = SRC_DIR.parent / "hf_gifs"
|
|
|
|
| 44 |
# ----------------------------
|
| 45 |
st.header("GIF Browser")
|
| 46 |
|
| 47 |
+
from pathlib import Path
|
| 48 |
+
|
| 49 |
# streamlit_app.py is under src/, and hf_gifs is a sibling of src/
|
| 50 |
SRC_DIR = Path(__file__).resolve().parent
|
| 51 |
GIF_DIR = SRC_DIR.parent / "hf_gifs"
|