Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -7,8 +7,8 @@ HUGGINGFACE_TOKEN = os.getenv("hf_token")
|
|
| 7 |
|
| 8 |
# Instantiate the model
|
| 9 |
model = pipeline(task="fill-mask",
|
| 10 |
-
model="robzchhangte/
|
| 11 |
-
tokenizer="robzchhangte/
|
| 12 |
use_auth_token=HUGGINGFACE_TOKEN ) # Use the token to authenticate
|
| 13 |
|
| 14 |
def fill_the_mask(text):
|
|
|
|
| 7 |
|
| 8 |
# Instantiate the model
|
| 9 |
model = pipeline(task="fill-mask",
|
| 10 |
+
model="robzchhangte/MizBERT",
|
| 11 |
+
tokenizer="robzchhangte/MizBERT",
|
| 12 |
use_auth_token=HUGGINGFACE_TOKEN ) # Use the token to authenticate
|
| 13 |
|
| 14 |
def fill_the_mask(text):
|