epochs-demos commited on
Commit
a60e3d7
·
verified ·
1 Parent(s): f77f90a

Upload app.py with huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -75,7 +75,7 @@ def main():
75
  def execute_instructor_code(params):
76
  # Execute the instructor's code to get the result
77
  globals_dict = {}
78
- execdef sum(a,b):
79
  return a+b, globals_dict)
80
  instructor_function = globals_dict.get(st.session_state.function_name)
81
 
 
75
  def execute_instructor_code(params):
76
  # Execute the instructor's code to get the result
77
  globals_dict = {}
78
+ exec(def sum(a,b):
79
  return a+b, globals_dict)
80
  instructor_function = globals_dict.get(st.session_state.function_name)
81