Spaces:
Runtime error
Runtime error
Timothyxxx
commited on
Commit
•
7913a66
1
Parent(s):
2afcc05
Finalize
Browse files
app.py
CHANGED
@@ -219,7 +219,7 @@ with st.spinner("Generating Binder program to solve the question...will be finis
|
|
219 |
st.subheader("Binder program")
|
220 |
if selected_language == 'Binder-SQL':
|
221 |
# Post process
|
222 |
-
binder_program = post_process_sql(binder_program,
|
223 |
st.markdown('```sql\n' + binder_program + '\n```')
|
224 |
executor = NSQLExecutor(args, keys=keys)
|
225 |
elif selected_language == 'Binder-Python':
|
|
|
219 |
st.subheader("Binder program")
|
220 |
if selected_language == 'Binder-SQL':
|
221 |
# Post process
|
222 |
+
binder_program = post_process_sql(binder_program, df, selected_table_title, True)
|
223 |
st.markdown('```sql\n' + binder_program + '\n```')
|
224 |
executor = NSQLExecutor(args, keys=keys)
|
225 |
elif selected_language == 'Binder-Python':
|