Spaces:
Running
Running
update nav iapi initialization
#1
by
johnnygreco
- opened
app.py
CHANGED
|
@@ -151,7 +151,7 @@ def generate_synthetic_records(api_key, chunks_dict, num_records):
|
|
| 151 |
|
| 152 |
gretel = Gretel(api_key=api_key, validate=True, clear=True)
|
| 153 |
|
| 154 |
-
navigator = gretel.factories.
|
| 155 |
|
| 156 |
INTRO_PROMPT = "From the source text below, create a dataset with the following columns:\n"
|
| 157 |
COLUMN_DETAILS = (
|
|
|
|
| 151 |
|
| 152 |
gretel = Gretel(api_key=api_key, validate=True, clear=True)
|
| 153 |
|
| 154 |
+
navigator = gretel.factories.initialize_navigator_api("tabular")
|
| 155 |
|
| 156 |
INTRO_PROMPT = "From the source text below, create a dataset with the following columns:\n"
|
| 157 |
COLUMN_DETAILS = (
|