Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
from transformers import pipeline
|
| 2 |
|
| 3 |
# Initialize the fill-mask pipeline with your chosen model
|
| 4 |
-
unmasker = pipeline("fill-mask", model="
|
| 5 |
|
| 6 |
def predict(text):
|
| 7 |
"""
|
|
|
|
| 1 |
from transformers import pipeline
|
| 2 |
|
| 3 |
# Initialize the fill-mask pipeline with your chosen model
|
| 4 |
+
unmasker = pipeline("fill-mask", model="bert-base-uncased")
|
| 5 |
|
| 6 |
def predict(text):
|
| 7 |
"""
|