You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
File "/usr/local/lib/python3.8/dist-packages/streamlit/scriptrunner/script_runner.py", line 475, in _run_script
exec(code, module.__dict__)
File "/root/LazySlides/LazySlides/app.py", line 375, in <module>
main()
File "/root/LazySlides/LazySlides/app.py", line 311, in main
with open(os.path.join("videof",uploaded_file.name),"wb") as f:
UnboundLocalError: local variable 'uploaded_file' referenced before assignment
and
UnboundLocalError: local variable 'uploaded_file' referenced before assignment
Traceback:
File "/usr/local/lib/python3.8/dist-packages/streamlit/scriptrunner/script_runner.py", line 475, in _run_script
exec(code, module.__dict__)
File "/root/LazySlides/LazySlides/app.py", line 375, in <module>
main()
File "/root/LazySlides/LazySlides/app.py", line 311, in main
with open(os.path.join("videof",uploaded_file.name),"wb") as f:
how solved?
The text was updated successfully, but these errors were encountered:
I guess I missed a file. The file is videof. This file converts videos to ppt. You can refer pptx python library for the conversion.
Ill make sure ill rectify this error asap!!!
Thanks for letting me know. Have a great day.
and
how solved?
The text was updated successfully, but these errors were encountered: