SmokeyBandit commited on
Commit
d1021af
Β·
verified Β·
1 Parent(s): 2653b04

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +13 -0
app.py CHANGED
@@ -252,6 +252,19 @@ with gr.Blocks(theme=gr.themes.Soft(), css="""
252
  - πŸ“Š In-Depth Data Analytics
253
  - πŸ’» Custom Software & Multi-Agent Systems
254
  """)
 
 
 
 
 
 
 
 
 
 
 
 
 
255
 
256
  with gr.TabItem("πŸ“Š Performance"):
257
  gr.Plot(value=create_performance_comparison())
 
252
  - πŸ“Š In-Depth Data Analytics
253
  - πŸ’» Custom Software & Multi-Agent Systems
254
  """)
255
+
256
+ with gr.TabItem("🌐 Web Research"):
257
+ with gr.Row():
258
+ url_input = gr.Textbox(label="Enter URL for Analysis", placeholder="https://example.com", lines=1)
259
+ research_query = gr.Textbox(label="Research Query", placeholder="Enter your research topic", lines=1)
260
+ with gr.Row():
261
+ scrape_button = gr.Button("πŸ” Scrape Website")
262
+ research_button = gr.Button("πŸ”Ž Research Topic")
263
+ with gr.Row():
264
+ scrape_output = gr.Textbox(label="Scraped Content", lines=10)
265
+ research_output = gr.Textbox(label="Research Results", lines=10)
266
+ scrape_button.click(web_scrape_agent, inputs=url_input, outputs=scrape_output)
267
+ research_button.click(research_agent, inputs=research_query, outputs=research_output)
268
 
269
  with gr.TabItem("πŸ“Š Performance"):
270
  gr.Plot(value=create_performance_comparison())