Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -3,7 +3,7 @@ from transformers import DistilBertTokenizer, DistilBertForSequenceClassificatio
|
|
3 |
import gradio as gr
|
4 |
|
5 |
# モデルとトークナイザーのロード
|
6 |
-
model_name = "
|
7 |
tokenizer = DistilBertTokenizer.from_pretrained(model_name)
|
8 |
model = DistilBertForSequenceClassification.from_pretrained(model_name)
|
9 |
|
|
|
3 |
import gradio as gr
|
4 |
|
5 |
# モデルとトークナイザーのロード
|
6 |
+
model_name = "kix-intl/elon-musk-detector" # あなたのモデル名に置き換えてください
|
7 |
tokenizer = DistilBertTokenizer.from_pretrained(model_name)
|
8 |
model = DistilBertForSequenceClassification.from_pretrained(model_name)
|
9 |
|