Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -35,7 +35,7 @@ async def get_report(query: str, report_type: str, sources: list, report_source:
|
|
| 35 |
|
| 36 |
while True:
|
| 37 |
logs = f.getvalue()
|
| 38 |
-
logs_container.text_area("Agent Logs", logs, height=200)
|
| 39 |
await asyncio.sleep(1) # Update every second
|
| 40 |
if "Finalized research step" in logs:
|
| 41 |
break
|
|
@@ -190,9 +190,9 @@ if 'report' in st.session_state:
|
|
| 190 |
|
| 191 |
st.markdown("### Agent Logs")
|
| 192 |
if 'logs' in st.session_state:
|
| 193 |
-
st.text_area("Logs will appear here during the research process.", st.session_state.logs, height=200)
|
| 194 |
else:
|
| 195 |
-
st.text_area("Logs will appear here during the research process.", height=200)
|
| 196 |
|
| 197 |
# Hide Streamlit's default footer and menu
|
| 198 |
hide_streamlit_style = """
|
|
|
|
| 35 |
|
| 36 |
while True:
|
| 37 |
logs = f.getvalue()
|
| 38 |
+
logs_container.text_area("Agent Logs", logs, height=200, key="logs_display")
|
| 39 |
await asyncio.sleep(1) # Update every second
|
| 40 |
if "Finalized research step" in logs:
|
| 41 |
break
|
|
|
|
| 190 |
|
| 191 |
st.markdown("### Agent Logs")
|
| 192 |
if 'logs' in st.session_state:
|
| 193 |
+
st.text_area("Logs will appear here during the research process.", st.session_state.logs, height=200,key="logs_display")
|
| 194 |
else:
|
| 195 |
+
st.text_area("Logs will appear here during the research process.", height=200, key="logs_display")
|
| 196 |
|
| 197 |
# Hide Streamlit's default footer and menu
|
| 198 |
hide_streamlit_style = """
|