https://www.orchest.io/ logo
e

Esraa Madi

12/13/2022, 8:09 AM
Hi all, I have expanded the limit of file size and upload a large file using streamlit service, the progress bar shows it full but it never finish uploading then ends with network error , is it streamlit problem or hosting streamlit on orchest is related to the issue ?
r

Rick Lamers

12/13/2022, 1:14 PM
As a test to verify whether this is a Streamlit or Orchest issue you could try to upload the file to the
/data
folder in the pipeline editor.
If that succeeds the issue likely sits at the Streamlit level
e

Esraa Madi

12/14/2022, 8:17 AM
yes i have uploaded to data folder successfully, i will open this issue in streamlit side , Thanks
👍 1
i have another question, i have attached screenshot of my
streamlit.py
file, you can see i tried to save my uploaded file in 2 different paths, but i never found them after run finishes, what the path should I use it to save my uploaded file under
/data
folder ?(note: i tried to upload another small file to check saving part if it runs, with small files i do not face the network error above)
r

Rick Lamers

12/14/2022, 9:17 AM
Services have access to
/data
if you specify a data directory mount path in the service specification. You can use any path that you prefer for the service.
For example, this configuration will make the global
/data
(the one you see in your file manager in the pipeline editor) available in the service at the mount point of
/data
inside the container of the service.
👍 1
e

Esraa Madi

12/14/2022, 9:25 AM
it worked thanks
r

Rick Lamers

12/14/2022, 9:26 AM
Glad to hear 👍
4 Views