epochs-demos commited on
Commit
33e5a93
1 Parent(s): b8b95b9

Upload app.py with huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -75,8 +75,8 @@ def main():
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
 
82
  if not callable(instructor_function):
 
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
 
82
  if not callable(instructor_function):