Open zhenghaolun opened 4 months ago
Hi, can you please paste the full error along with huggingface_hub and transformers version?
Hi, yes of course, ImportError: cannot import name 'CommitOperationAdd' from 'huggingface_hub' (/home/asus/anaconda3/envs/pair-diff/lib/python3.8/site-packages/huggingface_hub/init.py) transformers-4.41.2 Name: huggingface-hub, Version: 0.23.2
The ImportError happened when I wanted to run the gradio_demo.py, and I tried to upgrade the huggingface_hub and transformers after the Error, but it doesn't work.