gitfans5

Results 5 issues of gitfans5

How to fix "ValueError: The current `device_map` had weights offloaded to the disk. Please provide an `offload_folder` for them. Alternatively, make sure you have `safetensors` installed if the model you...

How to fix the error below "Collecting dotenv Using cached dotenv-0.0.5.tar.gz (2.4 kB) error: subprocess-exited-with-error × python setup.py egg_info did not run successfully. │ exit code: 1 ╰─> See above...

What is the difference between OPENAI_KEY and OPENAI_API_KEY in "os.environ["OPENAI_API_KEY"] = os.getenv("OPENAI_KEY")"? Should one input the SERPAPI_API_KEY inside the quotation mark in "os.environ["SERPAPI_API_KEY"] = os.getenv("SERPAPI_API_KEY")" Thanks.

How to fix the error below: [/usr/lib/python3.8/os.py](https://localhost:8080/#) in encode(value) 748 def encode(value): 749 if not isinstance(value, str): --> 750 raise TypeError("str expected, not %s" % type(value).__name__) 751 return value.encode(encoding, 'surrogateescape')...

### Is there an existing issue for this? - [X] I have searched the existing issues ### Current Behavior File "web_demo.py", line 19 SyntaxError: Non-ASCII character '\xe7' in file web_demo.py...