shukdevdatta123 commited on
Commit
8a3f412
·
verified ·
1 Parent(s): 73e712c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -80,7 +80,7 @@ if st.button("Translate"):
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:
 
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, width=150) # Adjust the size as per preference
84
  else:
85
  st.error(japanese_text) # Display error message if API call fails
86
  else: