update nav iapi initialization

#1
Files changed (1) hide show
  1. app.py +1 -1
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.initialize_inference_api("navigator")
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 = (