Hamda commited on
Commit
0af80fa
1 Parent(s): 30ba48b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
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)