Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -781,7 +781,7 @@ shared_state = {"project_desc_table": pd.DataFrame(), "task_analysis_txt": "", "
|
|
781 |
|
782 |
# Button Action: Fetch State
|
783 |
def fetch_updated_state():
|
784 |
-
response = requests.get("http://localhost:
|
785 |
state = response.json()
|
786 |
"""Fetch the updated shared state from FastAPI."""
|
787 |
return pd.DataFrame(state["project_desc_table"]), state["task_analysis_txt"], pd.DataFrame(state["execution_status"]), state["execution_results"]
|
|
|
781 |
|
782 |
# Button Action: Fetch State
|
783 |
def fetch_updated_state():
|
784 |
+
response = requests.get("http://localhost:7860/state")
|
785 |
state = response.json()
|
786 |
"""Fetch the updated shared state from FastAPI."""
|
787 |
return pd.DataFrame(state["project_desc_table"]), state["task_analysis_txt"], pd.DataFrame(state["execution_status"]), state["execution_results"]
|