Rename app.py to from transformers import AutoModelForCausalLM, AutoTokenizer model_name = "THUDM/CogVideoX-5B" tokenizer = AutoTokenizer.from_pretrained(model_name) model = AutoModelForCausalLM.from_pretrained(model_name)

#1
by thbat - opened
app.py β†’ from transformers import AutoModelForCausalLM, AutoTokenizer model_name = /"THUDM/CogVideoX-5B/" tokenizer = AutoTokenizer.from_pretrained(model_name) model = AutoModelForCausalLM.from_pretrained(model_name) RENAMED
File without changes