Update app.py
Browse files28 unmodified lines2930313233343528 unmodified lines# Load the model with the access token passed as an environment variable# model_name = "your_model_name_in_hugging_face"model = AutoModelForImageClassification.from_pretrained(model_name, token=os.environ.get("HF_TOKEN"))tokenizer = AutoTokenizer.from_pretrained(model_name)28 unmodified lines2930313233343528 unmodified lines# Load the model with the access token passed as an environment variable# model_name = "your_model_name_in_hugging_face"model = AutoModelForImageClassification.from_pretrained(model_name)tokenizer = AutoTokenizer.from_pretrained(model_name)
app.py+1-1