Spaces:
Running on Zero
Running on Zero
Rename-image-data-extractor-skill
Browse files
.agents/skills/{extract-image-data → image-data-extractor}/SKILL.md
RENAMED
|
@@ -1,9 +1,9 @@
|
|
| 1 |
---
|
| 2 |
-
name:
|
| 3 |
description: Extract structured data from document images through the electblake/image-data-extractor Gradio Space API. Use when calling its template selection, template generation, or image extraction endpoints from Python, JavaScript, or cURL.
|
| 4 |
---
|
| 5 |
|
| 6 |
-
#
|
| 7 |
|
| 8 |
This skill describes how to use the electblake/image-data-extractor Gradio Space programmatically.
|
| 9 |
|
|
|
|
| 1 |
---
|
| 2 |
+
name: image-data-extractor
|
| 3 |
description: Extract structured data from document images through the electblake/image-data-extractor Gradio Space API. Use when calling its template selection, template generation, or image extraction endpoints from Python, JavaScript, or cURL.
|
| 4 |
---
|
| 5 |
|
| 6 |
+
# Image Data Extractor
|
| 7 |
|
| 8 |
This skill describes how to use the electblake/image-data-extractor Gradio Space programmatically.
|
| 9 |
|
.agents/skills/{extract-image-data → image-data-extractor}/agents/openai.yaml
RENAMED
|
@@ -1,4 +1,4 @@
|
|
| 1 |
interface:
|
| 2 |
-
display_name: "
|
| 3 |
short_description: "Extract structured data from document images"
|
| 4 |
-
default_prompt: "Use $
|
|
|
|
| 1 |
interface:
|
| 2 |
+
display_name: "Image Data Extractor"
|
| 3 |
short_description: "Extract structured data from document images"
|
| 4 |
+
default_prompt: "Use $image-data-extractor to extract structured data from a document image through the API."
|
app.py
CHANGED
|
@@ -34,7 +34,7 @@ def download_agentskill(include_all_skills):
|
|
| 34 |
skill_folders = (
|
| 35 |
sorted(path for path in Path(".agents/skills").iterdir() if path.is_dir())
|
| 36 |
if include_all_skills
|
| 37 |
-
else [Path(".agents/skills/
|
| 38 |
)
|
| 39 |
for skill_folder in skill_folders:
|
| 40 |
with zipfile.ZipFile(
|
|
|
|
| 34 |
skill_folders = (
|
| 35 |
sorted(path for path in Path(".agents/skills").iterdir() if path.is_dir())
|
| 36 |
if include_all_skills
|
| 37 |
+
else [Path(".agents/skills/image-data-extractor")]
|
| 38 |
)
|
| 39 |
for skill_folder in skill_folders:
|
| 40 |
with zipfile.ZipFile(
|