gpt4free icon indicating copy to clipboard operation
gpt4free copied to clipboard

unsupported syntax of a higher version of Python

Open wingeva1986 opened this issue 1 year ago • 3 comments

File "D:\Python\openai-gpt4-main\gpt4free\quora_init_.py", line 390 if (cookie_file := Path(self.cookie_path)).exists():

File "D:\Python\openai-gpt4-main\gpt4free\quora_init_.py", line 461 /, ^

def create_bot(
    self,
    name: str,
    /,
    prompt: str = '',
    base_model: str = 'ChatGPT',
    description: str = '',
) -> None:

wingeva1986 avatar Apr 30 '23 14:04 wingeva1986

@wingeva1986 which version of python are you using?

sudouser777 avatar May 01 '23 11:05 sudouser777

@wingeva1986 which version of python are you using?

3.7

wingeva1986 avatar May 01 '23 11:05 wingeva1986

@wingeva1986 above syntax will work from 3.8

sudouser777 avatar May 01 '23 11:05 sudouser777