Spaces:
Runtime error
Runtime error
debug printing
Browse files
app.py
CHANGED
@@ -47,10 +47,14 @@ cap_prompt = st.sidebar.text_input(
|
|
47 |
value=None
|
48 |
)
|
49 |
|
|
|
|
|
|
|
50 |
if st.sidebar.button("Random Sample Image"):
|
51 |
random_image = get_rand_img(sample_images)
|
52 |
sample_image = None
|
53 |
|
|
|
54 |
uploaded_image = None
|
55 |
with st.sidebar.form("file-uploader-form", clear_on_submit=True):
|
56 |
uploaded_file = st.file_uploader("Choose a file")
|
|
|
47 |
value=None
|
48 |
)
|
49 |
|
50 |
+
if cap_prompt is None:
|
51 |
+
st.write("HAHA")
|
52 |
+
|
53 |
if st.sidebar.button("Random Sample Image"):
|
54 |
random_image = get_rand_img(sample_images)
|
55 |
sample_image = None
|
56 |
|
57 |
+
|
58 |
uploaded_image = None
|
59 |
with st.sidebar.form("file-uploader-form", clear_on_submit=True):
|
60 |
uploaded_file = st.file_uploader("Choose a file")
|