Spaces:
Runtime error
Runtime error
Commit
•
aaf481d
1
Parent(s):
1420dd0
update nav iapi initialization (#1)
Browse files- update nav iapi initialization (c13005b49902f12d350e912b1dd31446b1378ccb)
Co-authored-by: Johnny Greco <johnnygreco@users.noreply.huggingface.co>
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 = (
|