[python] Conversation is never defined

#2
by lucyknada - opened

Following the installation guide in the readme and pulling the repo from: https://github.com/Apollo-LMMs/Apollo

throws this error:

Traceback (most recent call last):
  File "/home/user/Apollo/1.py", line 8, in <module>
    from apollo.conversation import conv_templates, SeparatorStyle
  File "/home/user/Apollo/apollo/conversation.py", line 37, in <module>
    conv_qwen = Conversation(
                ^^^^^^^^^^^^
NameError: name 'Conversation' is not defined
Apollo-LMMs org

please pull again and try again

thanks! that should fix it, for now switched over to gradio again, will re-open if the issue persists

lucyknada changed discussion status to closed

seems like the issue is not resolved yet:

Traceback (most recent call last):
  File "/home/user/Apollo/1.py", line 8, in <module>
    from apollo.conversation import conv_templates, SeparatorStyle
  File "/home/user/Apollo/apollo/conversation.py", line 315, in <module>
    default_conversation = conv_plain
                           ^^^^^^^^^^
NameError: name 'conv_plain' is not defined
lucyknada changed discussion status to open

Sign up or log in to comment