ericilavia commited on
Commit
2c15fdf
·
verified ·
1 Parent(s): 1aa8fa7

Update src/streamlit_app.py

Browse files
Files changed (1) hide show
  1. src/streamlit_app.py +4 -3
src/streamlit_app.py CHANGED
@@ -68,11 +68,12 @@ async def deep_research(query: str, max_depth: int, time_limit: int, max_urls: i
68
  param = param,
69
  on_activity = on_activity
70
  )
 
71
  return {
72
- "success" : True,
73
- "final_analysis" : resp["data"]["finalAnalysis"]
74
  "sources_count": len(resp["data"]["sources"]),
75
- "sources":resp["data"]["sources"]
76
  }
77
  except Exception as e:
78
  st.error(f"Deep Research Error: {str(e)}")
 
68
  param = param,
69
  on_activity = on_activity
70
  )
71
+
72
  return {
73
+ "success": True,
74
+ "final_analysis": resp["data"]["finalAnalysis"]
75
  "sources_count": len(resp["data"]["sources"]),
76
+ "sources": resp["data"]["sources"]
77
  }
78
  except Exception as e:
79
  st.error(f"Deep Research Error: {str(e)}")