Commit
·
2db2034
1
Parent(s):
90889e4
Simplify HF Jobs token syntax to -s HF_TOKEN
Browse filesChanged from:
-e HF_TOKEN=$(python3 -c "from huggingface_hub import get_token; print(get_token())")
To:
-s HF_TOKEN
The -s flag handles secrets directly without needing shell substitution.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
- deepseek-ocr-vllm.py +1 -1
deepseek-ocr-vllm.py
CHANGED
|
@@ -476,7 +476,7 @@ if __name__ == "__main__":
|
|
| 476 |
print(" --base-size 1024 --image-size 640 --crop-mode")
|
| 477 |
print("\n6. Running on HF Jobs:")
|
| 478 |
print(" hf jobs uv run --flavor l4x1 \\")
|
| 479 |
-
print(" -
|
| 480 |
print(" https://huggingface.co/datasets/uv-scripts/ocr/raw/main/deepseek-ocr-vllm.py \\")
|
| 481 |
print(" your-document-dataset \\")
|
| 482 |
print(" your-markdown-output")
|
|
|
|
| 476 |
print(" --base-size 1024 --image-size 640 --crop-mode")
|
| 477 |
print("\n6. Running on HF Jobs:")
|
| 478 |
print(" hf jobs uv run --flavor l4x1 \\")
|
| 479 |
+
print(" -s HF_TOKEN \\")
|
| 480 |
print(" https://huggingface.co/datasets/uv-scripts/ocr/raw/main/deepseek-ocr-vllm.py \\")
|
| 481 |
print(" your-document-dataset \\")
|
| 482 |
print(" your-markdown-output")
|