ydshieh commited on
Commit
310a439
·
1 Parent(s): d28411b

change style

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -38,7 +38,8 @@ with st.spinner('Generating image caption ...'):
38
 
39
  caption = predict(image)
40
  image.close()
41
- st.success(f'caption: {caption}')
 
42
 
43
  st.sidebar.header("ViT-GPT2 predicts:")
44
- st.sidebar.write(f"caption: {caption}", '\n')
 
38
 
39
  caption = predict(image)
40
  image.close()
41
+ # st.success(f'{caption}')
42
+ st.header(f'{caption}')
43
 
44
  st.sidebar.header("ViT-GPT2 predicts:")
45
+ st.sidebar.write(f"{caption}", '\n')