abdalrahmanshahrour commited on
Commit
c879c57
1 Parent(s): 4f4f3ec
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -71,7 +71,7 @@ summarize_button = st.button(label="لخص النص")
71
 
72
  if summarize_button:
73
  with st.spinner("جاري التلخيص ..."):
74
- result = get_results(doc, model, num_beams, length_penalty,number_of_sentence)
75
  if len(result) > 0:
76
  st.write(result)
77
  else:
 
71
 
72
  if summarize_button:
73
  with st.spinner("جاري التلخيص ..."):
74
+ result = get_results(doc, model, num_beams, length_penalty)
75
  if len(result) > 0:
76
  st.write(result)
77
  else: