nurindahpratiwi commited on
Commit
e8cd84c
1 Parent(s): 836644e

first commit

Browse files
Files changed (1) hide show
  1. app.py +5 -7
app.py CHANGED
@@ -48,15 +48,13 @@ if uploaded_file is not None:
48
  if st.button ("Summarize"):
49
  time.sleep(10)
50
 
51
- #filepath = uploaded_file.name
52
- #with open(filepath, "wb") as temp_file:
53
- #temp_file.write(uploaded_file.read())
54
 
55
- #summarized_result = language_model_pipeline(filepath)
56
  st.info("Summarization Complete")
57
- #st.success(summarized_result)
58
-
59
- st.success("Pemerintah bisa memulainya dengan meningkatkan kesejahteraan guru dan sekolah anak hingga mengadakan beragam tempat yang ramah anak Jadi, itulah alasan mengapa pendidikan anak usia dini begitu penting serta hal yang bisa dilakukan oleh pemerintah dan masyarakat.")
60
 
61
 
62
 
 
48
  if st.button ("Summarize"):
49
  time.sleep(10)
50
 
51
+ filepath = uploaded_file.name
52
+ with open(filepath, "wb") as temp_file:
53
+ temp_file.write(uploaded_file.read())
54
 
55
+ summarized_result = language_model_pipeline(filepath)
56
  st.info("Summarization Complete")
57
+ st.success(summarized_result)
 
 
58
 
59
 
60