Do0rMaMu commited on
Commit
e48121e
1 Parent(s): 59a03c6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -445,7 +445,7 @@ async def submit_data(request: SubmitDataRequest):
445
  }
446
 
447
  # Redirect to the visualization page
448
- return RedirectResponse(url=f"https://jocular-squirrel-b4fc2b.netlify.app?session_id={session_id}", status_code=302)
449
 
450
  # Prepare box data for visualization
451
  box_data = []
@@ -482,7 +482,7 @@ async def submit_data(request: SubmitDataRequest):
482
  print(" auto suggest data ", processed_data_store[session_id])
483
 
484
  # Redirect to the visualization page
485
- return RedirectResponse(url=f"https://jocular-squirrel-b4fc2b.netlify.app?session_id={session_id}", status_code=302)
486
 
487
  @app.get("/get_visualization/{session_id}/")
488
  async def get_visualization(session_id: str):
@@ -673,4 +673,4 @@ async def visualize_payload(payload: Dict[str, Any]):
673
  }
674
 
675
  # Return session ID and processed data to the frontend for visualization
676
- return {"session_id": session_id, "visualization_url": f"https://jocular-squirrel-b4fc2b.netlify.app?session_id={session_id}"}
 
445
  }
446
 
447
  # Redirect to the visualization page
448
+ return RedirectResponse(url=f"https://remarkable-frangollo-aed932.netlify.app?session_id={session_id}", status_code=302)
449
 
450
  # Prepare box data for visualization
451
  box_data = []
 
482
  print(" auto suggest data ", processed_data_store[session_id])
483
 
484
  # Redirect to the visualization page
485
+ return RedirectResponse(url=f"https://remarkable-frangollo-aed932.netlify.app?session_id={session_id}", status_code=302)
486
 
487
  @app.get("/get_visualization/{session_id}/")
488
  async def get_visualization(session_id: str):
 
673
  }
674
 
675
  # Return session ID and processed data to the frontend for visualization
676
+ return {"session_id": session_id, "visualization_url": f"https://remarkable-frangollo-aed932.netlify.app?session_id={session_id}"}