Spaces:
Runtime error
Runtime error
gaspar-avit
commited on
Commit
·
acf9b17
1
Parent(s):
d3c9591
Update app.py
Browse files
app.py
CHANGED
@@ -248,6 +248,7 @@ def generate_poster(movie_data):
|
|
248 |
with col2:
|
249 |
st.image(image, caption="Movie: \"" + movie_data.title.values[0] + "\"")
|
250 |
del image
|
|
|
251 |
|
252 |
except:
|
253 |
col1, col2 = st.columns([5, 1])
|
@@ -302,6 +303,9 @@ if __name__ == "__main__":
|
|
302 |
buffer1, col1, buffer2 = st.columns([1.3, 1, 1])
|
303 |
is_clicked = col1.button(label="Generate poster!")
|
304 |
|
|
|
|
|
|
|
305 |
## Clear cache between runs
|
306 |
st.runtime.legacy_caching.clear_cache()
|
307 |
generate_poster.clear()
|
@@ -312,4 +316,6 @@ if __name__ == "__main__":
|
|
312 |
generate_poster.clear()
|
313 |
st.runtime.legacy_caching.clear_cache()
|
314 |
|
|
|
|
|
315 |
|
|
|
248 |
with col2:
|
249 |
st.image(image, caption="Movie: \"" + movie_data.title.values[0] + "\"")
|
250 |
del image
|
251 |
+
st.text("")
|
252 |
|
253 |
except:
|
254 |
col1, col2 = st.columns([5, 1])
|
|
|
303 |
buffer1, col1, buffer2 = st.columns([1.3, 1, 1])
|
304 |
is_clicked = col1.button(label="Generate poster!")
|
305 |
|
306 |
+
st.text("")
|
307 |
+
st.text("")
|
308 |
+
|
309 |
## Clear cache between runs
|
310 |
st.runtime.legacy_caching.clear_cache()
|
311 |
generate_poster.clear()
|
|
|
316 |
generate_poster.clear()
|
317 |
st.runtime.legacy_caching.clear_cache()
|
318 |
|
319 |
+
st.text("")
|
320 |
+
st.text("")
|
321 |
|