mohammedelfeky-ai commited on
Commit
6f919e7
·
verified ·
1 Parent(s): db72343

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -233,7 +233,7 @@ agent_tools = [
233
  visit_webpage,
234
  create_document,
235
  get_file_download_link,
236
- get_latest_news, # Added the new news tool
237
  ]
238
 
239
  if image_generation_tool:
@@ -256,6 +256,6 @@ if __name__ == "__main__":
256
  print("Warning: NEWS_API_KEY environment variable not set. News tool will return an error.")
257
 
258
  print("Starting Gradio UI...")
259
- from Gradio_UI import GradioUI # Assuming Gradio_UI.py is in the same directory
260
  ui = GradioUI(agent) # Removed file_upload_folder argument to disable UI uploads
261
  ui.launch()
 
233
  visit_webpage,
234
  create_document,
235
  get_file_download_link,
236
+ get_latest_news,
237
  ]
238
 
239
  if image_generation_tool:
 
256
  print("Warning: NEWS_API_KEY environment variable not set. News tool will return an error.")
257
 
258
  print("Starting Gradio UI...")
259
+ #from Gradio_UI import GradioUI # Assuming Gradio_UI.py is in the same directory
260
  ui = GradioUI(agent) # Removed file_upload_folder argument to disable UI uploads
261
  ui.launch()