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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -79,8 +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
- 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:
 
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: