I get my hand on the new feature that we all have been waiting for.
I tested it to upload an image and read it with OpenCV (cv.VideoCapture) but unfortunately, I encounter an error. The type of the uploaded image is <_io.BytesIO object at 0x7f4c7adc7db0>
Error message
TypeError: an integer is required (got type _io.BytesIO)
Traceback:
File "/usr/local/lib/python3.6/site-packages/streamlit/ScriptRunner.py", line 324, in _run_script
exec(code, module.__dict__)
File "/workspaces/inveesion/main.py", line 767, in <module>
cap = Config().input_output_data(guiParam)
File "/workspaces/inveesion/main.py", line 508, in input_output_data
cap = cv.VideoCapture(file_path)
Github issue: https://github.com/streamlit/streamlit/issues/884