NoCrypt / paperspace-ncpt

AUTOMATIC1111's stable-diffusion-webui on Paperspace with bunch of QOL stuff
8 stars 2 forks source link

Huggingface Access Token issue #6

Open Adramatech1 opened 8 months ago

Adramatech1 commented 8 months ago

Hello there i have a issue everytime i put my hf Token.

I have some (G)oldies models as private on my HF but i can´t download it and alway appears this error code on Start 🚀 cell.

---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
Cell In[2], line 307
    304 params.save()
    306 # start. the thing
--> 307 environ["COMMANDLINE_ARGS"] = params.commandline_arguments
    308 environ["REQS_FILE"] = "requirements_versions.txt"
    311 display("Starting 'tensorboard'...")

Cell In[1], line 504, in Params.commandline_arguments(self)
    502 arg_list = ["--enable-insecure-extension-access --disable-safe-unpickle --theme dark  --listen --port 6006"]
    503 if self.options["hf_token"] != "":
--> 504     arg_list.extend(["--hf-token-out", self.hf_token])
    505 if self.options["update_extensions"]  is True:
    506     arg_list.append("--update-all-extensions")

AttributeError: 'Params' object has no attribute 'hf_token'

Maybe its just me being dumb. in that case. Sorry.


And just like a consideration is maybe add a bar for Civitai API Keys to download some some of new models,

Issue 2


Thanks for your work. everything else worked smooth for me.-

RannaAI commented 3 months ago

I will check this out