Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -229,22 +229,6 @@ def create_interface():
|
|
| 229 |
[Documentation](https://mostly-ai.github.io/mostlyai/) | [Technical White Paper](https://arxiv.org/abs/2508.00718) | [Usage Examples](https://mostly-ai.github.io/mostlyai/usage/) | [Free Cloud Service](https://app.mostly.ai/)
|
| 230 |
|
| 231 |
A Python toolkit for generating high-fidelity, privacy-safe synthetic data.
|
| 232 |
-
|
| 233 |
-
**Modes of operation:**
|
| 234 |
-
- **LOCAL mode** trains and generates synthetic data on your own compute resources.
|
| 235 |
-
- **CLIENT mode** connects to a remote MOSTLY AI platform for training and generation.
|
| 236 |
-
- Generators trained locally can be imported to the platform for sharing and collaboration.
|
| 237 |
-
|
| 238 |
-
**Key resources managed by the SDK:**
|
| 239 |
-
- **Generators**: Train on your tabular or language data assets.
|
| 240 |
-
- **Synthetic datasets**: Generate any number of synthetic samples as needed.
|
| 241 |
-
- **Connectors**: Connect to organizational data sources for reading and writing data.
|
| 242 |
-
|
| 243 |
-
**Common intents and API primitives:**
|
| 244 |
-
- Train a generator: `g = mostly.train(config)`
|
| 245 |
-
- Generate records: `sd = mostly.generate(g, config)`
|
| 246 |
-
- Probe generator: `df = mostly.probe(g, config)`
|
| 247 |
-
- Connect to data source: `c = mostly.connect(config)`
|
| 248 |
""")
|
| 249 |
|
| 250 |
with gr.Tab("Quick Start"):
|
|
@@ -318,6 +302,25 @@ def create_interface():
|
|
| 318 |
with gr.Row():
|
| 319 |
download_btn = gr.DownloadButton("Download CSV", variant="secondary")
|
| 320 |
comparison_plot = gr.Plot(label="Data Comparison")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 321 |
|
| 322 |
# Event handlers
|
| 323 |
init_btn.click(
|
|
|
|
| 229 |
[Documentation](https://mostly-ai.github.io/mostlyai/) | [Technical White Paper](https://arxiv.org/abs/2508.00718) | [Usage Examples](https://mostly-ai.github.io/mostlyai/usage/) | [Free Cloud Service](https://app.mostly.ai/)
|
| 230 |
|
| 231 |
A Python toolkit for generating high-fidelity, privacy-safe synthetic data.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 232 |
""")
|
| 233 |
|
| 234 |
with gr.Tab("Quick Start"):
|
|
|
|
| 302 |
with gr.Row():
|
| 303 |
download_btn = gr.DownloadButton("Download CSV", variant="secondary")
|
| 304 |
comparison_plot = gr.Plot(label="Data Comparison")
|
| 305 |
+
|
| 306 |
+
# README
|
| 307 |
+
gr.Markdown("""
|
| 308 |
+
**Modes of operation:**
|
| 309 |
+
- **LOCAL mode** trains and generates synthetic data on your own compute resources.
|
| 310 |
+
- **CLIENT mode** connects to a remote MOSTLY AI platform for training and generation.
|
| 311 |
+
- Generators trained locally can be imported to the platform for sharing and collaboration.
|
| 312 |
+
|
| 313 |
+
**Key resources managed by the SDK:**
|
| 314 |
+
- **Generators**: Train on your tabular or language data assets.
|
| 315 |
+
- **Synthetic datasets**: Generate any number of synthetic samples as needed.
|
| 316 |
+
- **Connectors**: Connect to organizational data sources for reading and writing data.
|
| 317 |
+
|
| 318 |
+
**Common intents and API primitives:**
|
| 319 |
+
- Train a generator: `g = mostly.train(config)`
|
| 320 |
+
- Generate records: `sd = mostly.generate(g, config)`
|
| 321 |
+
- Probe generator: `df = mostly.probe(g, config)`
|
| 322 |
+
- Connect to data source: `c = mostly.connect(config)`
|
| 323 |
+
""")
|
| 324 |
|
| 325 |
# Event handlers
|
| 326 |
init_btn.click(
|