sahbic / profile-gpt

An AI-driven tool to analyze your profile and gain insights into how ChatGPT interprets your personality.
MIT License
180 stars 12 forks source link

UnboundLocalError: local variable 'sampled_conv_messages' referenced before assignment #3

Closed maschinenzeitmaschine closed 1 year ago

maschinenzeitmaschine commented 1 year ago

Traceback (most recent call last): File "/Users/me/profile_gpt/venv_py3/lib/python3.10/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 565, in _run_script exec(code, module.dict) File "/Users/me/profile_gpt/profile-gpt/dashboard.py", line 59, in processed_messages = functions.preprocess_messages(user_messages, total_desired_number_of_messages, number_of_words_max_per_message) File "/Users/me/profile_gpt/profile-gpt/utils/functions.py", line 83, in preprocess_messages sampled_messages.append(sampled_conv_messages) UnboundLocalError: local variable 'sampled_conv_messages' referenced before assignment

Ben-Taarit commented 1 year ago

Duplicate of this issue please close

maschinenzeitmaschine commented 1 year ago

sorry... flakey internet