pulkitmehtawork
commited on
Commit
•
8dece52
1
Parent(s):
7636a9e
Fill mask modern bert
Browse files
app.py
CHANGED
@@ -13,7 +13,7 @@ pipe = pipeline(
|
|
13 |
|
14 |
# Function to run the model
|
15 |
def fill_mask(input_text):
|
16 |
-
return pipe(input_text)[0]["
|
17 |
|
18 |
|
19 |
# Set up the Gradio interface
|
|
|
13 |
|
14 |
# Function to run the model
|
15 |
def fill_mask(input_text):
|
16 |
+
return pipe(input_text)[0]["sequence"]
|
17 |
|
18 |
|
19 |
# Set up the Gradio interface
|