Spaces:
Sleeping
Sleeping
Commit
·
f1f40cb
1
Parent(s):
ad680c1
Update app.py
Browse files
app.py
CHANGED
@@ -38,10 +38,9 @@ with st.spinner(text="Please wait while the model is loading...."):
|
|
38 |
|
39 |
|
40 |
def create_instruction(name, about, title, labels, assignees, headline_type, headline, summary):
|
41 |
-
|
42 |
-
val_list = [name, about, title, labels, assignees, headline_type, headline]
|
43 |
|
44 |
-
|
45 |
if not summary:
|
46 |
summary = '<|EMPTY|>'
|
47 |
|
|
|
38 |
|
39 |
|
40 |
def create_instruction(name, about, title, labels, assignees, headline_type, headline, summary):
|
41 |
+
value_list = [name, about, title, labels, assignees, headline_type, headline]
|
|
|
42 |
|
43 |
+
value_list = ['<|MASK|>' if not element else element for element in val_list]
|
44 |
if not summary:
|
45 |
summary = '<|EMPTY|>'
|
46 |
|