Overview

When deploying an app to Hugging Face Spaces, the following error occurred. This is a memo about that error.

CVUWTMDripAroueedRaFFFdrawaNciiiuittIelmlrlflniUeNbeoeeeregnlGadsoNgtSc"e"u"mohrek/l/l/tanatuutuhFnelt(s=ssuodwyiDmrr=rgultneo/D//gniUigtslelalidnlcsetototonEgtsccectcgrrwtracaeafroaSiMeltlmlaofletuc/M/p/crythlelultle:ttttnili_i_hii'itbtbdbhNecnyB/i/o/uosgoacpBpwpbaslcayayny.mbSokltctltuooewelhkhohtdvtisnoeoaoiuettedlnnndnllihta3d3_3seentfs.(.f..xg'iat11r1_ncsyni)000eaeogl:/m/rmpvlsess_sret0odiihiodi.k:ttutro0seeebes'n.eyN--(-h,6t=oppwpiutvaa,amgafiamcccpgninlokkhkoiolgudaafarnteseugg_gtgh''leetefe,esssRaro/k/ecrinyyeypee.aoonoo_xaemll=lshct.eoohoiuedvvfvtbp'55_5.ty'//truihohhmuytoolueoktNinmogldeiolegpenltso/siel)sF.cuenrs/o_cstgs/dueuetf.conrrriapowdrr/ncymnEoe.ge"mlrrdcs_,oors:ohnao'nrul.drfubipsin.ny.gsue"p/_t,yUdi3"lil8l,trs,ir=.nlap_ieilaennytr3ethrl3i/oo81ctra,5ssd0/'_i,sdmneioitrdnt'e_i.lianntgFitsote.r_mj_pshtoe_nld'powsneleoahdt_tfprso:m/_/hduobcs.ultralytics.com/quickstart/#ultralytics-settings.

Reference

The following article was helpful.

https://github.com/ml-explore/mlx-examples/issues/994

Solution

The error was resolved by downgrading huggingface-hub as follows.

huggingface-hub==0.24.7

Summary

I hope this serves as a useful reference.