shahabkahn commited on
Commit
df706fe
·
verified ·
1 Parent(s): 5bbafa5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -6
app.py CHANGED
@@ -110,10 +110,4 @@ async def query(question_request: QuestionRequest):
110
  logger.error(f"Error processing query: {e}")
111
  raise HTTPException(status_code=500, detail="Internal Server Error")
112
 
113
- @app.on_event("startup")
114
- async def startup_event():
115
- subprocess.Popen(["streamlit", "run", "frontend.py", "--server.port", "8501"])
116
 
117
- @app.get("/")
118
- async def root():
119
- return RedirectResponse(url="http://localhost:8501")
 
110
  logger.error(f"Error processing query: {e}")
111
  raise HTTPException(status_code=500, detail="Internal Server Error")
112
 
 
 
 
113