Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -16,7 +16,7 @@ model = AutoModelForSequenceClassification.from_pretrained(model_name)
|
|
16 |
tokenizer = AutoTokenizer.from_pretrained(model_name)
|
17 |
|
18 |
# Set up the Serverless Inference API
|
19 |
-
inference_api_token =
|
20 |
inference_api = inference_api.InferenceApi(token=inference_api_token)
|
21 |
|
22 |
# Set up the Diffusers library
|
|
|
16 |
tokenizer = AutoTokenizer.from_pretrained(model_name)
|
17 |
|
18 |
# Set up the Serverless Inference API
|
19 |
+
inference_api_token = HF_TOKEN
|
20 |
inference_api = inference_api.InferenceApi(token=inference_api_token)
|
21 |
|
22 |
# Set up the Diffusers library
|