Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -10,9 +10,9 @@ token = os.getenv("token")
|
|
10 |
|
11 |
# Load the model and tokenizer using the token
|
12 |
model = AutoModelForSequenceClassification.from_pretrained(
|
13 |
-
"kmcs-casulit/hr_cate",
|
14 |
tokenizer = AutoTokenizer.from_pretrained(
|
15 |
-
"kmcs-casulit/hr_cate",
|
16 |
pipe = pipeline("text-classification", model=model, tokenizer=tokenizer)
|
17 |
|
18 |
|
|
|
10 |
|
11 |
# Load the model and tokenizer using the token
|
12 |
model = AutoModelForSequenceClassification.from_pretrained(
|
13 |
+
"kmcs-casulit/hr_cate", token=token)
|
14 |
tokenizer = AutoTokenizer.from_pretrained(
|
15 |
+
"kmcs-casulit/hr_cate", token=token)
|
16 |
pipe = pipeline("text-classification", model=model, tokenizer=tokenizer)
|
17 |
|
18 |
|