qqwjq1981 commited on
Commit
040bc02
·
verified ·
1 Parent(s): 6e3e237

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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:5000/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"]
 
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"]