Skip to content

Commit 482c21f

Browse files
committed
Add attribution for subtitles feature demo video
1 parent b5db704 commit 482c21f

File tree

5 files changed

+15
-6
lines changed

5 files changed

+15
-6
lines changed

python/api-examples-source/charts.video3/pages/1_1️⃣_One_VTT_or_SRT_file.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@
55

66
col1, col2 = st.columns(2)
77

8-
st.caption("The featured video by [Blender Foundation | www.sintel.org](https://durian.blender.org) is licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)")
8+
st.caption(
9+
"The featured video by [Blender Foundation | www.sintel.org](https://durian.blender.org) is licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)"
10+
)
911

1012

1113
with col1:

python/api-examples-source/charts.video3/pages/2_♾️_Multiple_VTT_and_or_SRT_files.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -50,4 +50,6 @@
5050
start_time=18,
5151
)
5252

53-
st.caption("The featured video by [Blender Foundation | www.sintel.org](https://durian.blender.org) is licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)")
53+
st.caption(
54+
"The featured video by [Blender Foundation | www.sintel.org](https://durian.blender.org) is licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)"
55+
)

python/api-examples-source/charts.video3/pages/3_📤_Upload_subtitles.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -54,4 +54,6 @@
5454
f"Now playing with the following subtitles: {', '.join([file.name for file in subtitles])}"
5555
)
5656

57-
st.caption("The featured video by [Blender Foundation | www.sintel.org](https://durian.blender.org) is licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)")
57+
st.caption(
58+
"The featured video by [Blender Foundation | www.sintel.org](https://durian.blender.org) is licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)"
59+
)

python/api-examples-source/charts.video3/pages/5_🧵_Raw_strings_and_BytesIO.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -236,5 +236,6 @@
236236
start_time=18,
237237
)
238238

239-
st.caption("The featured video by [Blender Foundation | www.sintel.org](https://durian.blender.org) is licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)")
240-
239+
st.caption(
240+
"The featured video by [Blender Foundation | www.sintel.org](https://durian.blender.org) is licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)"
241+
)

python/api-examples-source/charts.video3/pages/6_🛝_Playground.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -52,4 +52,6 @@ def load_data():
5252
"python/api-examples-source/charts.video3/sintel-short.mp4",
5353
subtitles={"English": webvtt_string},
5454
)
55-
col2.caption("The featured video by [Blender Foundation | www.sintel.org](https://durian.blender.org) is licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)")
55+
col2.caption(
56+
"The featured video by [Blender Foundation | www.sintel.org](https://durian.blender.org) is licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)"
57+
)

0 commit comments

Comments
 (0)