exo-explore / exo

Run your own AI cluster at home with everyday devices 📱💻 🖥️⌚
GNU General Public License v3.0
6.56k stars 342 forks source link

SyntaxError: f-string expression part cannot include a backslash #142

Closed PLK2 closed 1 month ago

PLK2 commented 1 month ago

Received the following error when running on PopOS Linux:

(.venv) pk@pop-os:~/exo$ python3 main.py File "/home/pk/exo/main.py", line 55 print(f"Chat interface started:\n{'\n'.join([' - ' + terminal_link(web_chat_url) for web_chat_url in web_chat_urls])}") ^ SyntaxError: f-string expression part cannot include a backslash

AlexCheema commented 1 month ago

Thanks, seems to happen on some versions of Python. Fixed.

PLK2 commented 1 month ago

sweet--it works! Thanks!