jcleee commited on
Commit
be33106
·
verified ·
1 Parent(s): 07a4cd3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -1
app.py CHANGED
@@ -103,4 +103,9 @@ agent = CodeAgent(
103
  )
104
 
105
  # === LAUNCH UI ===
106
- GradioUI(agent).launch()
 
 
 
 
 
 
103
  )
104
 
105
  # === LAUNCH UI ===
106
+ # GradioUI(agent).launch() # This was the original one we replaced
107
+
108
+ from submit import submit_answers
109
+
110
+ GradioUI(agent, file_upload_folder="downloads").launch(submit_fn=lambda: submit_answers(agent))
111
+