Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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", "
|
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 |
|