Spaces:
Runtime error
Runtime error
Commit
·
54f7e0b
1
Parent(s):
11c2ed7
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,4 +1,3 @@
|
|
| 1 |
-
!pip install transformers
|
| 2 |
import transformers
|
| 3 |
from transformers import pipeline
|
| 4 |
|
|
@@ -7,4 +6,4 @@ user_input = input("Enter a sentence with a masked word: ")
|
|
| 7 |
results = unmasker(user_input)
|
| 8 |
|
| 9 |
for result in results:
|
| 10 |
-
print(result['sequence'])
|
|
|
|
|
|
|
| 1 |
import transformers
|
| 2 |
from transformers import pipeline
|
| 3 |
|
|
|
|
| 6 |
results = unmasker(user_input)
|
| 7 |
|
| 8 |
for result in results:
|
| 9 |
+
print(result['sequence'])
|