Leonardo commited on
Commit
1683e3a
·
verified ·
1 Parent(s): 06ac681

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -7
app.py CHANGED
@@ -198,11 +198,5 @@ def create_agent(model_id="openrouter/google/gemini-2.0-flash-001"):
198
 
199
 
200
  if __name__ == "__main__":
201
- # Create an agent instance
202
  agent_instance = create_agent()
203
-
204
- # Create Gradio UI with the agent instance and file upload folder
205
- demo = GradioUI(agent_instance, file_upload_folder="uploaded_files")
206
-
207
- # Launch the UI
208
- demo.launch()
 
198
 
199
 
200
  if __name__ == "__main__":
 
201
  agent_instance = create_agent()
202
+ GradioUI(agent_instance).launch()