键入python ChuanhuChatbot.py后提示

#103
by akasaka112 - opened

Traceback (most recent call last):
File "C:\Users\akasaka\Downloads\ChuanhuChatGPT-main\ChuanhuChatbot.py", line 214, in
keyTxt = gr.Textbox(show_label=True, placeholder=f"在这里输入你的OpenAI API-key...", value=initial_keytxt, label="API Key").style(container=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'Textbox' object has no attribute 'style'. Did you mean: 'scale'?

Sign up or log in to comment