Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -303,24 +303,29 @@ def create_interface():
|
|
303 |
download_btn = gr.DownloadButton("Download CSV", variant="secondary")
|
304 |
comparison_plot = gr.Plot(label="Data Comparison")
|
305 |
|
306 |
-
|
307 |
-
|
308 |
-
|
309 |
-
|
310 |
-
|
311 |
-
|
|
|
312 |
|
313 |
-
|
314 |
-
|
315 |
-
|
316 |
-
|
317 |
|
318 |
-
|
319 |
-
|
320 |
-
|
321 |
-
|
322 |
-
|
323 |
-
|
|
|
|
|
|
|
|
|
324 |
|
325 |
# Event handlers
|
326 |
init_btn.click(
|
|
|
303 |
download_btn = gr.DownloadButton("Download CSV", variant="secondary")
|
304 |
comparison_plot = gr.Plot(label="Data Comparison")
|
305 |
|
306 |
+
# README
|
307 |
+
gr.Markdown("""
|
308 |
+
|
309 |
+
**Modes of operation:**
|
310 |
+
- **LOCAL mode** trains and generates synthetic data on your own compute resources.
|
311 |
+
- **CLIENT mode** connects to a remote MOSTLY AI platform for training and generation.
|
312 |
+
- Generators trained locally can be imported to the platform for sharing and collaboration.
|
313 |
|
314 |
+
**Key resources managed by the SDK:**
|
315 |
+
- **Generators**: Train on your tabular or language data assets.
|
316 |
+
- **Synthetic datasets**: Generate any number of synthetic samples as needed.
|
317 |
+
- **Connectors**: Connect to organizational data sources for reading and writing data.
|
318 |
|
319 |
+
**Common intents and API primitives:**
|
320 |
+
- Train a generator: `g = mostly.train(config)`
|
321 |
+
- Generate records: `sd = mostly.generate(g, config)`
|
322 |
+
- Probe generator: `df = mostly.probe(g, config)`
|
323 |
+
- Connect to data source: `c = mostly.connect(config)`
|
324 |
+
|
325 |
+
The open source Synthetic Data SDK by MOSTLY AI powers the MOSTLY AI Platform and MOSTLY AI Assistant.
|
326 |
+
|
327 |
+
Sign up for free and try the [MOSTLY AI Platform](https://app.mostly.ai/) today!
|
328 |
+
""")
|
329 |
|
330 |
# Event handlers
|
331 |
init_btn.click(
|