Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -101,6 +101,7 @@ def make_animation():
|
|
101 |
get_url=f'{main_directory}images/animations/'
|
102 |
feed1 = requests.get(get_url)
|
103 |
spl = feed1.text.split("href=")
|
|
|
104 |
for line in spl:
|
105 |
spl2 = line.split(">")[0].strip('""')
|
106 |
if spl2.endswith("/"):
|
|
|
101 |
get_url=f'{main_directory}images/animations/'
|
102 |
feed1 = requests.get(get_url)
|
103 |
spl = feed1.text.split("href=")
|
104 |
+
gif_box=[]
|
105 |
for line in spl:
|
106 |
spl2 = line.split(">")[0].strip('""')
|
107 |
if spl2.endswith("/"):
|