sabssag commited on
Commit
26c35dd
1 Parent(s): a0e4270

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -223,7 +223,7 @@ if st.button("Generate Code"):
223
  with st.spinner("Generating Python Code..."):
224
  try:
225
  # Correct function name here
226
- generated_code = generate_code_from_latex(latex_expression=st.session_state.latex_expr)
227
  # Display the generated code
228
  st.subheader("Generated Python Code")
229
  st.code(generated_code, language='python')
 
223
  with st.spinner("Generating Python Code..."):
224
  try:
225
  # Correct function name here
226
+ generated_code = generate_code(latex_expression=st.session_state.latex_expr)
227
  # Display the generated code
228
  st.subheader("Generated Python Code")
229
  st.code(generated_code, language='python')