Download docs.py from fmmkii/ImaGen: direct link, hf CLI and curl.
- Browser
- Download file 180 Bytes
-
https://huggingface.co/spaces/fmmkii/ImaGen/resolve/main/docs.py
- Command line
-
hf download hf://spaces/fmmkii/ImaGen/docs.py
-
curl -L -o docs.py https://huggingface.co/spaces/fmmkii/ImaGen/resolve/main/docs.py
180 Bytes
| import streamlit as st | |
| def read_markdown_file(file_path): | |
| with open(file_path, "r") as file: | |
| return file.read() | |
| docs = read_markdown_file('DOCS.md') | |
| st.markdown(docs) |