M.Araby commited on
Commit
bd6bcbd
·
1 Parent(s): e9be0a9

Add application file7

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -35,9 +35,9 @@ if st.button('Summarize'):
35
 
36
  # Decode and display the summarized text
37
  result = tokenizer.decode(output[0][150:], skip_special_tokens=True).strip()
38
- st.subheader("Original Text")
39
  st.write(text)
40
- st.subheader("Summarized Text")
41
  st.write(result)
42
  else:
43
  st.warning("Please enter Arabic text to summarize.")
 
35
 
36
  # Decode and display the summarized text
37
  result = tokenizer.decode(output[0][150:], skip_special_tokens=True).strip()
38
+ st.subheader("Original Text Input")
39
  st.write(text)
40
+ st.subheader("Summarized Text Idea")
41
  st.write(result)
42
  else:
43
  st.warning("Please enter Arabic text to summarize.")