BatuhanYilmaz
commited on
Commit
β’
288e941
1
Parent(s):
0e88dcb
Update 01_π₯_Input_YouTube_Link.py
Browse files
01_π₯_Input_YouTube_Link.py
CHANGED
@@ -15,7 +15,7 @@ from languages import LANGUAGES
|
|
15 |
st.set_page_config(page_title="Auto Subtitled Video Generator", page_icon=":movie_camera:", layout="wide")
|
16 |
|
17 |
# Define a function that we can use to load lottie files from a link.
|
18 |
-
@st.cache(
|
19 |
def load_lottieurl(url: str):
|
20 |
r = requests.get(url)
|
21 |
if r.status_code != 200:
|
|
|
15 |
st.set_page_config(page_title="Auto Subtitled Video Generator", page_icon=":movie_camera:", layout="wide")
|
16 |
|
17 |
# Define a function that we can use to load lottie files from a link.
|
18 |
+
@st.cache()
|
19 |
def load_lottieurl(url: str):
|
20 |
r = requests.get(url)
|
21 |
if r.status_code != 200:
|