ydshieh HF staff commited on
Commit
de90f6d
1 Parent(s): ac444cc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -48,7 +48,7 @@ with st.spinner('Generating image caption ...'):
48
  caption = predict(image)
49
 
50
  caption_en = caption
51
- st.header(f'**Prediction (in English) **{caption_en}')
52
 
53
  # caption_en = translator.translate(caption, src='fr', dest='en').text
54
  # st.header(f'**Prediction (in French) **{caption}')
 
48
  caption = predict(image)
49
 
50
  caption_en = caption
51
+ st.header(f'**Prediction (in English)**: {caption_en}')
52
 
53
  # caption_en = translator.translate(caption, src='fr', dest='en').text
54
  # st.header(f'**Prediction (in French) **{caption}')