UNIST-Eunchan commited on
Commit
fafffac
Β·
1 Parent(s): 2c13377

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -93,10 +93,9 @@ _book = test_book[book_index]['book']
93
 
94
  #prompts
95
  st.title("Book Summarization πŸ“š")
96
- st.write("The almighty king of text generation, GPT-2 comes in four available sizes, only three of which have been publicly made available. Feared for its fake news generation capabilities, it currently stands as the most syntactically coherent model. A direct successor to the original GPT, it reinforces the already established pre-training/fine-tuning killer duo. From the paper: Language Models are Unsupervised Multitask Learners by Alec Radford, Jeffrey Wu, Rewon Child, David Luan, Dario Amodei and Ilya Sutskever.")
97
-
98
  #book_index = st.sidebar.slider("Select Book Example", value = 0,min_value = 0, max_value=4)
99
- sent = st.text_area("Text", _book, height = 100000)
100
  max_length = st.sidebar.slider("Max Length", value = 512,min_value = 10, max_value=1024)
101
  temperature = st.sidebar.slider("Temperature", value = 1.0, min_value = 0.0, max_value=1.0, step=0.05)
102
  top_k = st.sidebar.slider("Top-k", min_value = 0, max_value=5, value = 0)
 
93
 
94
  #prompts
95
  st.title("Book Summarization πŸ“š")
96
+ st.write("Book Summarization using BART-BOOK! ")
 
97
  #book_index = st.sidebar.slider("Select Book Example", value = 0,min_value = 0, max_value=4)
98
+ sent = st.text_area("Text", _book, height = 3000)
99
  max_length = st.sidebar.slider("Max Length", value = 512,min_value = 10, max_value=1024)
100
  temperature = st.sidebar.slider("Temperature", value = 1.0, min_value = 0.0, max_value=1.0, step=0.05)
101
  top_k = st.sidebar.slider("Top-k", min_value = 0, max_value=5, value = 0)