zamborg commited on
Commit
f7ed359
1 Parent(s): 84a7427

adding dummy button for regenerate

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -78,7 +78,7 @@ with st.sidebar.form("file-uploader-form", clear_on_submit=True):
78
  uploaded_image = Image.open(io.BytesIO(uploaded_file.getvalue()))
79
  select_idx = None # set this to help rewrite the cache
80
 
81
-
82
 
83
  if uploaded_image is None and submitted:
84
  st.write("Please select a file to upload")
78
  uploaded_image = Image.open(io.BytesIO(uploaded_file.getvalue()))
79
  select_idx = None # set this to help rewrite the cache
80
 
81
+ _ = st.sidebar.button("Regenerate Caption")
82
 
83
  if uploaded_image is None and submitted:
84
  st.write("Please select a file to upload")