WealthFromAI commited on
Commit
c2dc2af
Β·
verified Β·
1 Parent(s): c5ba10c

FORGE-X: Initial demo upload

Browse files
Files changed (3) hide show
  1. README.md +92 -7
  2. app.py +67 -0
  3. requirements.txt +1 -0
README.md CHANGED
@@ -1,13 +1,98 @@
1
  ---
2
- title: Data Science Ml Document Generation Api 2fd7
3
- emoji: πŸ“Š
4
- colorFrom: gray
5
- colorTo: indigo
6
  sdk: gradio
7
- sdk_version: 6.14.0
8
- python_version: '3.13'
9
  app_file: app.py
10
  pinned: false
 
 
 
 
 
 
 
 
 
 
 
 
11
  ---
 
12
 
13
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ title: "Data Science & ML Document Generation API"
3
+ emoji: πŸ€–
4
+ colorFrom: blue
5
+ colorTo: gray
6
  sdk: gradio
7
+ sdk_version: 4.44.0
 
8
  app_file: app.py
9
  pinned: false
10
+ license: mit
11
+ tags:
12
+ - data-science
13
+ - analytics
14
+ - machine-learning
15
+ - statistics
16
+ - data
17
+ - science
18
+ - matching
19
+ - recommendation
20
+ - validation
21
+ - enrichment
22
  ---
23
+ # Data Science & ML Document Generation API
24
 
25
+ Stop writing model cards and data reports by hand β€” automate the tedious documentation that every data science project requires.
26
+
27
+ The Data Science & ML Document Generation API eliminates the manual, error-prone process of creating standardized documentation for your machine learning models and datasets. It is the best solution because it outputs ready-to-use model cards, data dictionaries, and experiment reports from a single REST API call, ensuring consistency and compliance.
28
+
29
+ ## What's Included
30
+
31
+ - Instantly generate model cards compliant with industry standards (e.g., Google’s Model Card Toolkit)
32
+ - Auto-create data dictionaries from your schema metadata
33
+ - Produce experiment summary reports with performance metrics and hyperparameters
34
+ - Customizable templates for branding and additional sections
35
+ - Simple REST API endpoint – just send a JSON payload and receive a formatted document (PDF or Markdown)
36
+
37
+ ## Who Is This For
38
+
39
+ - Data scientists tired of manually drafting documentation for each model version
40
+ - ML engineering teams needing compliant model cards for regulated industries (finance, healthcare)
41
+ - AI startups that must produce reproducible reports for investors or clients
42
+ - Data teams automating their CI/CD pipeline with documentation generation
43
+
44
+ ## How It Works
45
+
46
+ Get your unique API key, then send a POST request with your data and model metadata as a JSON payload. The API processes it and returns a polished document in your chosen format (PDF or Markdown). Integrate it into your existing workflow in minutes.
47
+
48
+ ## Frequently Asked Questions
49
+
50
+ **Can I customize the document templates?**
51
+ Yes, you can provide a custom CSS or use our pre-built templates. More advanced customization is available via options in the request payload.
52
+
53
+ **What output formats are supported?**
54
+ Currently we support PDF and Markdown. HTML and DOCX are in beta.
55
+
56
+ **How long does an API call take?**
57
+ Most documents are generated in under 2 seconds. Larger datasets may take up to 10 seconds.
58
+
59
+ **Is there a limit on the number of calls per day?**
60
+ The base plan includes 1,000 calls per day. For higher volume, see our enterprise plans.
61
+
62
+ **Can I use this API for collaborative team projects?**
63
+ Absolutely. Just share your API key securely within your team, or we can set up separate keys per user.
64
+
65
+ ## What You Get
66
+
67
+ - Instant digital download
68
+ - Complete REST API with full documentation
69
+ - Free updates for life β€” pay once, own forever
70
+ - Setup guide and usage instructions
71
+
72
+ **Get your API key now and start automating your data science documentation instantly.**
73
+
74
+ ## πŸš€ Usage
75
+
76
+ 1. Click **Use in Spaces** above to run the demo directly
77
+ 2. Or clone the repository and run locally:
78
+
79
+ ```bash
80
+ git clone https://huggingface.co/spaces/WealthFromAI/data-science-ml-document-generation-api-2fd7
81
+ cd data-science-ml-document-generation-api-2fd7
82
+ pip install -r requirements.txt
83
+ python app.py
84
+ ```
85
+
86
+ ## πŸ’° Pricing
87
+
88
+ - **Demo**: Free on Hugging Face Spaces
89
+ - **Full Source Code**: $42.23
90
+ - Available on [Gumroad](https://gumroad.com) and [Whop](https://whop.com)
91
+
92
+ ## πŸ“„ License
93
+
94
+ MIT License β€” free to use, modify, and distribute.
95
+
96
+ ---
97
+
98
+ *Built with [FORGE-X](https://github.com/WealthFromAI) β€” automated digital product engine*
app.py ADDED
@@ -0,0 +1,67 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """
2
+ Data Science & ML Document Generation API β€” Hugging Face Spaces Demo
3
+ Auto-generated by FORGE-X
4
+ """
5
+
6
+ import gradio as gr
7
+
8
+
9
+ def demo_interface(query: str) -> str:
10
+ """Demonstrate Data Science & ML Document Generation API capabilities."""
11
+ if not query.strip():
12
+ return "Please enter a query to see the demo output."
13
+
14
+ # Simulated response demonstrating the tool's output format
15
+ response = f"""## Data Science & ML Document Generation API Output
16
+
17
+ **Query:** {query}
18
+
19
+ **Result:**
20
+ This is a demonstration of Data Science & ML Document Generation API. The full tool provides:
21
+
22
+ - See documentation for full feature list
23
+
24
+ **Note:** This is a UI demo. The full source code is available for purchase.
25
+ """
26
+ return response
27
+
28
+
29
+ with gr.Blocks(
30
+ title="Data Science & ML Document Generation API",
31
+ theme=gr.themes.Soft(),
32
+ ) as demo:
33
+ gr.Markdown(
34
+ """# Data Science & ML Document Generation API
35
+
36
+ Stop writing model cards and data reports by hand β€” automate the tedious documentation that every data science project requires. The Data Science & ML Document Generation API eliminates the manual, e
37
+
38
+ ---
39
+ """
40
+ )
41
+
42
+ with gr.Row():
43
+ with gr.Column(scale=1):
44
+ query_input = gr.Textbox(
45
+ label="Input",
46
+ placeholder="Enter your query here...",
47
+ lines=4,
48
+ )
49
+ submit_btn = gr.Button("Run Demo", variant="primary")
50
+
51
+ with gr.Column(scale=1):
52
+ output_box = gr.Markdown(label="Output")
53
+
54
+ submit_btn.click(
55
+ fn=demo_interface,
56
+ inputs=[query_input],
57
+ outputs=[output_box],
58
+ )
59
+
60
+ gr.Markdown(
61
+ """---
62
+ *Full source code available β€” see pricing section in README*
63
+ """
64
+ )
65
+
66
+ if __name__ == "__main__":
67
+ demo.launch()
requirements.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ gradio>=4.44.0