I was trying to deploy my first stream-lit but getting following error

BrokenPipeError: This app has encountered an error. The original error message is redacted to prevent data leaks. Full error details have been recorded in the logs (if you’re on Streamlit Cloud, click on ‘Manage app’ in the lower right of your app).

Traceback:

File "/home/adminuser/venv/lib/python3.11/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 600, in _run_script
    exec(code, module.__dict__)File "/mount/src/project-final/Home.py", line 59, in <module>
    PredData =yf.download(Stock, start="2017-01-01", end=today, interval="1mo")
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^File "/home/adminuser/venv/lib/python3.11/site-packages/yfinance/utils.py", line 114, in wrapper
    result = func(*args, **kwargs)
             ^^^^^^^^^^^^^^^^^^^^^File "/home/adminuser/venv/lib/python3.11/site-packages/yfinance/multi.py", line 173, in download
    shared._PROGRESS_BAR.completed()File "/home/adminuser/venv/lib/python3.11/site-packages/yfinance/utils.py", line 858, in completed
    _sys.stdout.flush()

Hey there, you can’t just specify “today” as a string parameter. You need to provide a specific value similar to the ‘start’ parameter.

i did progress="false "
that was it

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.