ftnext
commited on
Commit
·
515cb6c
1
Parent(s):
02de6f4
Add inline script metadata for users to launch example apps easily
Browse files
examples/argilla_deployment.py
CHANGED
@@ -1,4 +1,9 @@
|
|
1 |
-
#
|
|
|
|
|
|
|
|
|
|
|
2 |
import os
|
3 |
|
4 |
from synthetic_dataset_generator import launch
|
|
|
1 |
+
# /// script
|
2 |
+
# requires-python = ">=3.11,<3.12"
|
3 |
+
# dependencies = [
|
4 |
+
# "synthetic-dataset-generator",
|
5 |
+
# ]
|
6 |
+
# ///
|
7 |
import os
|
8 |
|
9 |
from synthetic_dataset_generator import launch
|
examples/enforce_mapgie_template copy.py
CHANGED
@@ -1,4 +1,9 @@
|
|
1 |
-
#
|
|
|
|
|
|
|
|
|
|
|
2 |
import os
|
3 |
|
4 |
from synthetic_dataset_generator import launch
|
|
|
1 |
+
# /// script
|
2 |
+
# requires-python = ">=3.11,<3.12"
|
3 |
+
# dependencies = [
|
4 |
+
# "synthetic-dataset-generator",
|
5 |
+
# ]
|
6 |
+
# ///
|
7 |
import os
|
8 |
|
9 |
from synthetic_dataset_generator import launch
|
examples/ollama_local.py
CHANGED
@@ -1,4 +1,9 @@
|
|
1 |
-
#
|
|
|
|
|
|
|
|
|
|
|
2 |
import os
|
3 |
|
4 |
from synthetic_dataset_generator import launch
|
|
|
1 |
+
# /// script
|
2 |
+
# requires-python = ">=3.11,<3.12"
|
3 |
+
# dependencies = [
|
4 |
+
# "synthetic-dataset-generator",
|
5 |
+
# ]
|
6 |
+
# ///
|
7 |
import os
|
8 |
|
9 |
from synthetic_dataset_generator import launch
|
examples/openai_local.py
CHANGED
@@ -1,4 +1,9 @@
|
|
1 |
-
#
|
|
|
|
|
|
|
|
|
|
|
2 |
import os
|
3 |
|
4 |
from synthetic_dataset_generator import launch
|
|
|
1 |
+
# /// script
|
2 |
+
# requires-python = ">=3.11,<3.12"
|
3 |
+
# dependencies = [
|
4 |
+
# "synthetic-dataset-generator",
|
5 |
+
# ]
|
6 |
+
# ///
|
7 |
import os
|
8 |
|
9 |
from synthetic_dataset_generator import launch
|