could not read Username for 'https://huggingface.co': No such device or address

#1
by Shubham89 - opened

Hi julien,
I was trying to use this persistent space by duplicating it for my purpose but I am getting this issue not sure how to resolve this as quite new in this.
could not read Username for 'https://huggingface.co': No such device or address
so in logs this suggestion were given like use this to take care of it.
'git config --global user.email "email"'
'git config --global user.name "name"'
so I added this in app.py like
os.system('git config --global user.email "email"')
os.system('git config --global user.name "name"')

but after doing this email issue I think is resolved but name issue is still there not sure what to give here in this name place.
or I have to do something else to make it work and I am using free CPU for this.

Sign up or log in to comment