Spaces:
Runtime error
Runtime error
johnnygreco
commited on
Commit
•
c13005b
1
Parent(s):
1420dd0
update nav iapi initialization
Browse files
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 = (
|