kkastr commited on
Commit
a0489ac
1 Parent(s): aa52021

readme changes + name change for summary output

Browse files
Files changed (2) hide show
  1. README.md +3 -6
  2. app.py +2 -2
README.md CHANGED
@@ -1,6 +1,5 @@
1
  ---
2
- title: Summit
3
- emoji: 📊
4
  colorFrom: green
5
  colorTo: blue
6
  sdk: gradio
@@ -10,8 +9,6 @@ app_file: app.py
10
  pinned: false
11
  ---
12
 
13
- ## Reddit Thread Summarizer (Gradio)
14
 
15
- ## TODO
16
-
17
- - [ ] add sentence segmentation to improve performance.
 
1
  ---
2
+ title: Summit (Reddit Thread Summarizer)
 
3
  colorFrom: green
4
  colorTo: blue
5
  sdk: gradio
 
9
  pinned: false
10
  ---
11
 
12
+ ## Reddit Thread Summarizer
13
 
14
+ Leverage the power of the Transformers library and Gradio to automatically generate summaries of comment threads on Reddit! The code uses state-of-the-art NLP models, such as BART, to analyze and extract the most important information from lengthy comment threads on Reddit.
 
 
app.py CHANGED
@@ -150,8 +150,8 @@ if __name__ == "__main__":
150
  sub_btn = gr.Button("Summarize")
151
 
152
  with gr.Row():
153
- short_summary = gr.Textbox(label='Short Comment Summary')
154
- long_summary = gr.Textbox(label='Long Comment Summary')
155
 
156
  sub_btn.click(fn=summarizer,
157
  inputs=[submission_url],
 
150
  sub_btn = gr.Button("Summarize")
151
 
152
  with gr.Row():
153
+ short_summary = gr.Textbox(label='Short Summary')
154
+ long_summary = gr.Textbox(label='Long Summary')
155
 
156
  sub_btn.click(fn=summarizer,
157
  inputs=[submission_url],