Spaces:
Runtime error
Runtime error
Commit
Β·
0ee3d05
1
Parent(s):
8c70b50
added description + minor changes
Browse files
README.md
CHANGED
@@ -1,12 +1,28 @@
|
|
1 |
---
|
2 |
title: Youtube Video Summary
|
3 |
-
emoji:
|
4 |
colorFrom: purple
|
5 |
-
colorTo:
|
6 |
sdk: streamlit
|
7 |
sdk_version: 1.10.0
|
8 |
app_file: app.py
|
|
|
9 |
pinned: false
|
10 |
---
|
11 |
|
12 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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')
|