Zekun Wu commited on
Commit
4c7e8b6
·
1 Parent(s): 7c81f0f
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -91,7 +91,7 @@ if uploaded_file is not None:
91
  agent = GPTAgent(api_key, endpoint_url, deployment_name, api_version)
92
 
93
 
94
- df['Response'] = df['prompt'].apply(lambda x: agent.invoke(x, parameters))
95
 
96
  # Display processed data
97
  st.write('Processed Data:', df)
 
91
  agent = GPTAgent(api_key, endpoint_url, deployment_name, api_version)
92
 
93
 
94
+ df['Response'] = df['prompt'].apply(lambda x: agent.invoke(x, **parameters))
95
 
96
  # Display processed data
97
  st.write('Processed Data:', df)