shukdevdatta123 commited on
Commit
306d6ab
·
verified ·
1 Parent(s): cd51b2c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -79,6 +79,8 @@ if st.button("Translate"):
79
  st.markdown("### Translation Result:")
80
  st.write(f"**Japanese Output:** {japanese_text}")
81
  st.write(f"**Pronunciation:** {pronunciation}")
 
 
82
  else:
83
  st.error(japanese_text) # Display error message if API call fails
84
  else:
 
79
  st.markdown("### Translation Result:")
80
  st.write(f"**Japanese Output:** {japanese_text}")
81
  st.write(f"**Pronunciation:** {pronunciation}")
82
+ translateimg2 = Image.open("v3.png") # Ensure the file is in the correct directory
83
+ st.image(translateimg2) # Adjust the size as per preference
84
  else:
85
  st.error(japanese_text) # Display error message if API call fails
86
  else: