Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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)
|
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}')
|