alankabisov commited on
Commit
0ee3d05
β€’
1 Parent(s): 8c70b50

added description + minor changes

Browse files
Files changed (2) hide show
  1. README.md +19 -3
  2. app.py +1 -1
README.md CHANGED
@@ -1,12 +1,28 @@
1
  ---
2
  title: Youtube Video Summary
3
- emoji: πŸš€
4
  colorFrom: purple
5
- colorTo: pink
6
  sdk: streamlit
7
  sdk_version: 1.10.0
8
  app_file: app.py
 
9
  pinned: false
10
  ---
11
 
12
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
  title: Youtube Video Summary
3
+ emoji: πŸ“
4
  colorFrom: purple
5
+ colorTo: red
6
  sdk: streamlit
7
  sdk_version: 1.10.0
8
  app_file: app.py
9
+ models: t5-small
10
  pinned: false
11
  ---
12
 
13
+ # YouTube Video Summary πŸ“
14
+ Extracts transcripts for given video URL and creates summary. Uses [T5-small](https://huggingface.co/t5-small) model
15
+ under the hood since it have shown the best results on general purpose tasks.
16
+
17
+ **Online demo:** [πŸ€— Spaces](https://huggingface.co/spaces/alankabisov/youtube-video-summary)
18
+
19
+ ### Requirements
20
+ ```
21
+ torch
22
+ transformers
23
+ youtube_transcript_api
24
+ tqdm
25
+ stqdm
26
+ streamlit==1.10.0
27
+ ```
28
+
app.py CHANGED
@@ -154,7 +154,7 @@ if __name__ == "__main__":
154
  # State of processing
155
  is_processing = False
156
 
157
- st.title('YouTube Video Summary πŸ“ƒ')
158
  st.markdown('Creates summary for given YouTube video URL based on transcripts.')
159
  st.code('https://www.youtube.com/watch?v=1wkPMUZ9vX4')
160
  st.code('https://youtu.be/zb9l63Nm9zU')
 
154
  # State of processing
155
  is_processing = False
156
 
157
+ st.title('YouTube Video Summary πŸ“')
158
  st.markdown('Creates summary for given YouTube video URL based on transcripts.')
159
  st.code('https://www.youtube.com/watch?v=1wkPMUZ9vX4')
160
  st.code('https://youtu.be/zb9l63Nm9zU')