shahabkahn commited on
Commit
dd37d41
·
verified ·
1 Parent(s): 0db81ca

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -161,7 +161,7 @@ async def serve_streamlit(background_tasks: BackgroundTasks):
161
  background_tasks.add_task(run_streamlit)
162
 
163
  # Stream the output of the Streamlit app
164
- streamlit_output = subprocess.Popen(["streamlit", "stream", "frontend.py", "--server.port", "8501"], stdout=subprocess.PIPE)
165
  return StreamingResponse(streamlit_output.stdout, media_type="text/plain")
166
 
167
 
 
161
  background_tasks.add_task(run_streamlit)
162
 
163
  # Stream the output of the Streamlit app
164
+ streamlit_output = subprocess.Popen(["streamlit", "run", "frontend.py", "--server.port", "8501"], stdout=subprocess.PIPE)
165
  return StreamingResponse(streamlit_output.stdout, media_type="text/plain")
166
 
167