Spaces:
Runtime error
Runtime error
ydshieh
commited on
Commit
·
310a439
1
Parent(s):
d28411b
change style
Browse files
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'
|
|
|
42 |
|
43 |
st.sidebar.header("ViT-GPT2 predicts:")
|
44 |
-
st.sidebar.write(f"
|
|
|
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')
|