Update app.py
Browse files
app.py
CHANGED
@@ -25,6 +25,9 @@ st.write("Expand your query by leveraging various models")
|
|
25 |
default_value = "بيعت الأسلحة في السوق"
|
26 |
# sent is the variable holding the user's input
|
27 |
sent = st.text_area("Input", default_value, height=30)
|
|
|
|
|
|
|
28 |
text_st = sent+ ' <mask>'
|
29 |
|
30 |
pipe = pipeline("fill-mask", tokenizer=tokenizer, model=model)
|
|
|
25 |
default_value = "بيعت الأسلحة في السوق"
|
26 |
# sent is the variable holding the user's input
|
27 |
sent = st.text_area("Input", default_value, height=30)
|
28 |
+
|
29 |
+
st.checkbox('Use Graph', value=False)
|
30 |
+
|
31 |
text_st = sent+ ' <mask>'
|
32 |
|
33 |
pipe = pipeline("fill-mask", tokenizer=tokenizer, model=model)
|