Spaces:
Configuration error
Configuration error
Download validate_ui.py from gimdfgdfsg/2joe: direct link, hf CLI and curl.
- Browser
- Download file 446 Bytes
-
https://huggingface.co/spaces/gimdfgdfsg/2joe/resolve/main/validate_ui.py
- Command line
-
hf download hf://spaces/gimdfgdfsg/2joe/validate_ui.py
-
curl -L -o validate_ui.py https://huggingface.co/spaces/gimdfgdfsg/2joe/resolve/main/validate_ui.py
446 Bytes
| from pathlib import Path | |
| app = Path("app.py").read_text(encoding="utf-8") | |
| required = [ | |
| "Model Card ํ๊ณ ๊ณ ์ง", | |
| "๋ฒ์ ํ๋จ", | |
| "์ค๋ฅ ์ ๊ณ ์ ์", | |
| "์ต์ข ํ๋จ์ ์ฌ์ฉ์๊ฐ", | |
| ] | |
| missing = [x for x in required if x not in app] | |
| if missing: | |
| raise AssertionError(f"UI ํ๊ณ ๊ณ ์ง ๊ฒ์ฆ ์คํจ: {missing}") | |
| print("PASS: Model Card ํ๊ณ ๊ณ ์ง์ ์ด์ ์ ๊ธฐ UI ๋ฌธ๊ตฌ๊ฐ app.py์ ํฌํจ๋์ด ์์ต๋๋ค.") | |